Problem 546. Is A the inverse of B?
Solution Stats
Problem Comments
-
10 Comments
Show
7 older comments
Kuifeng
on 27 Apr 2012
Need to improve the test suites.
Richard Zapor
on 20 May 2012
Test of [1 1;1 1] for x and y would break current best solution
Vishal
on 16 Sep 2014
Test suite not proper
arsenic 陈
on 14 May 2021
just y=1 can pass
Dyuman Joshi
on 14 May 2021
Test suite has been improved
Dustin Lindner Daii
on 4 Aug 2021
Inputs should be changed to be A and B instead of x and y
Tanuj Monu
on 18 Dec 2021
i think there id some error in test case 1,2
Andy Chen
on 15 Feb 2022
Bit tricky
Abby
on 12 Jul 2022
If you are having issues with this and your solution seems correct, it is likely a computer precision issue.
Andrew Cheyne
on 18 May 2023 at 13:35
make sure to round the inverse of B, it's the reason 1&2 test cases are incorrect.
Solution Comments
Show commentsProblem Recent Solvers683
Suggested Problems
-
2822 Solvers
-
Solve the set of simultaneous linear equations
367 Solvers
-
The sum of the numbers in the vector
548 Solvers
-
405 Solvers
-
889 Solvers
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!