Question: Write a MATLAB function file that solves a set of equations in form of Ax=b using Cramer method. The cramer function should get two inputs

Write a MATLAB function file that solves a set of equations in form of Ax=b using Cramer method. The cramer function should get two inputs A and b and gives x vector as output. Use "rank" command to find the number of equations (number of variables) from matrix A, so your code can solve any size set of equations. To evaluate your code, use a 2x2 matrix A and a 2x1 vector b (use any numbers you want, but do not make A singular). Upload the code in an MS-Word (or PDF) file include the answer in the file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
