Question: Objective To create a function that returns the Reduced Row Echelon Form (RREF) of a matrix and the number of non-zero pivots. Instructions Create a
Objective
To create a function that returns the Reduced Row Echelon Form (RREF) of a matrix and the number of non-zero pivots.
Instructions
Create a MATLAB function [R, p] = EAS501_Kritik3(A) which computes the RREF of matrix A. The RREF is returned in R and the number of non-zero pivots is returned in p.
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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
