Given a matrix A and a matrix B, is A the inverse of B?
ans = 1
Need to improve the test suites.
Test of [1 1;1 1] for x and y would break current best solution
Test suite not proper
the matrix are given in the problem statement is A,B but function take x
and y and return answer in y that is bit confusing ,any how just use logic A*B^-1=I .
really too disgusting prb use isequal(fix(B),round(inv(A)))
"credit should goes to matlab's built-in function not to programmer" - parvez mh
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
Fill a zeros matrix
Dimensions of a rectangle
Area of an Isoceles Triangle
Area of a triangle
Find the Kronecker Tensor Product without using KRON
How many days does the cat take to climb out of the hole?
Find the "ordinary" or Euclidean distance between A and Z
Pythagorean perfect squares: find the square of the hypotenuse and the length of the other side
Similar Triangles - find the height of the tree
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office