Problem 546. Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B?
>>A=[2,4;3,5];
>>B=[-2.5,2;1.5,-1];
>>isInverse(A,B)
ans = 1
Solution Stats
Problem Comments
-
12 Comments
Show
9 older comments
Andrew Cheyne
on 18 May 2023
make sure to round the inverse of B, it's the reason 1&2 test cases are incorrect.
SAYALI MORE
on 15 Oct 2023
i tried all the things but I am not able to solve this question can anybody help me with this question
Christian Schröder
on 15 Oct 2023
@Sayali Recall that if A is the inverse B, then AB = BA = I, where I is an identity matrix of appropriate dimensions. Also, brush up on your basic MATLAB, e.g. syntax and built-in functions. Good luck!
Solution Comments
Show commentsProblem Recent Solvers1032
Suggested Problems
-
7352 Solvers
-
875 Solvers
-
660 Solvers
-
491 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
1975 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!