0% found this document useful (0 votes)
17 views1 page

MATLAB Command Window

The document contains MATLAB code that defines a 6x7 matrix A, calculates its reduced row echelon form R using the rref command, and displays the results. The rref of A is a matrix with leading 1s down the main diagonal and zeros everywhere else, indicating that A has full row rank.

Uploaded by

Steven Aguirre
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views1 page

MATLAB Command Window

The document contains MATLAB code that defines a 6x7 matrix A, calculates its reduced row echelon form R using the rref command, and displays the results. The rref of A is a matrix with leading 1s down the main diagonal and zeros everywhere else, indicating that A has full row rank.

Uploaded by

Steven Aguirre
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

MATLAB Command Window Page 1

>> A = [5 0 0 -1 -1 0 0;3 0 0 0 0 0 -4;12 2 0 -3 0 -2 0;1 0 0 0 -2 0 0;0 1 0 -1 0 0 0;0 0


1 0 0 -1 0]

A =

5 0 0 -1 -1 0 0
3 0 0 0 0 0 -4
12 2 0 -3 0 -2 0
1 0 0 0 -2 0 0
0 1 0 -1 0 0 0
0 0 1 0 0 -1 0

>> R = rref(A)

R =

Columns 1 through 5

1.0000 0 0 0 0
0 1.0000 0 0 0
0 0 1.0000 0 0
0 0 0 1.0000 0
0 0 0 0 1.0000
0 0 0 0 0

Columns 6 through 7

0 -1.3333
0 -6.0000
0 -5.0000
0 -6.0000
0 -0.6667
1.0000 -5.0000

>>

You might also like