really too disgusting prb use isequal(fix(B),round(inv(A)))
or y=true
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%% Test one
A=[2,4;3,5];
B=[-2.5,2;1.5,-1];
y_correct = 1;
assert(isequal(isInverse(A,B),y_correct))
|
2 | Pass |
%% Test two
A=[1,2;3,5];
B=[-5,2;3,-1];
y_correct = 1;
assert(isequal(isInverse(A,B),y_correct))
|
Find the numeric mean of the prime numbers in a matrix.
6781 Solvers
284 Solvers
351 Solvers
485 Solvers
323 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!