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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started