Let A be a k 4 matrix whose entries are random numbers betw

Let A be a k × 4 matrix whose entries are random numbers between 0 and 1. Create a script that prints on screen the reduced echelon form of A for k = 2, 3, 4, 5.Matlab question

   

Solution

For Matlab 2016a

Code

clear all
clc
for i=2:5
for j=1:i
for k=1:4
A(j,k)=rand(1,1);
end
end
sprintf(\'The matrix A(%d x 4) is\', i)
A
sprintf(\'The reduced row echelon forn of matrix A(%d x 4) is\', i)
rref(A)
end

Let A be a k × 4 matrix whose entries are random numbers between 0 and 1. Create a script that prints on screen the reduced echelon form of A for k = 2, 3, 4, 5

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site