Question: Please use MatLab, the only built in method you can use is rref. Submit your M-file and a diary that shows how you tested the
Submit your M-file and a diary that shows how you tested the code. Create a function csolve.m with input a matrix A and no output. The function should display the rank and the pivot and free variables of A. Test it using the matrix below. 1 -8 -7 51 A 0 0 -3 2 1 -8 10 7 Your display should be precisely the following: csolve (A) The rank of the coefficient matrix is 2. Pivot variables: 1 3 Free variables: 2 4 Hint: Use the for structure to display pivot and free variables
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
