MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

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

172 correct solutions
264 incorrect solutions

Last solution submitted on May 26, 2015

1 Comment

santosh singh
on 3 Oct 2014

really too disgusting prb use isequal(fix(B),round(inv(A)))
or y=true

1 Comment

Freddy
on 18 Jun 2012

"credit should goes to matlab's built-in function not to programmer" - parvez mh

3 Comments