To create a function that returns the Reduced Row Echelon Form (RREF) of a matrix and the number of non-zero pivots.
Create a MATLAB function[R, p] = EAS501_Kritik3(A)which computes the RREF of matrixA. The RREF is returned inRand the number of non-zero pivots is returned inp.
You are not allowed to use any MATLAB function which does not replicate the requested functionality, including but not limited to rref, jordan, rank, etc. You are allowed to use basic MATLAB functions (size, min, abs, etc) and control mechanisms (for-loop, while-loop, try-catch, etc) as those do not replicate the requested functionality.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here