help me echelon matrix ?

2 visualizaciones (últimos 30 días)
Nguyen Trong Nhan
Nguyen Trong Nhan el 5 de En. de 2014
Respondida: Roger Stafford el 6 de En. de 2014
I have a matrix:
syms m
A = [1 2 3 4;2 -1 1 1;-1 4 3 2;1 2 0 m]
with m is the parameter I use rref command:
rref(A)
ans =
[ 1, 0, 0, 0]
[ 0, 1, 0, 0]
[ 0, 0, 1, 0]
[ 0, 0, 0, 1]
the parameter m was lost. How I can convert matrix A to echelon form that the parameter m is still kept. thanks you very much.

Respuesta aceptada

Matt J
Matt J el 5 de En. de 2014
Editada: Matt J el 5 de En. de 2014
I suspect, after experimenting with multiple m, that the echelon form of this particular matrix is independent of m, e.g.,
>> m=1; A = [1 2 3 4;2 -1 1 1;-1 4 3 2;1 2 0 m]; rref(A)
ans =
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
>> m=10; A = [1 2 3 4;2 -1 1 1;-1 4 3 2;1 2 0 m]; rref(A)
ans =
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1

Más respuestas (1)

Roger Stafford
Roger Stafford el 6 de En. de 2014
It is in the nature of the reduced row echelon form for your square matrix to be the identity matrix. That is because no matter what value m has, the matrix is always non-singular.
Suppose we alter one number in A:
A = [1 2 3 4;2 -1 1 1;1 4 3 2;1 2 0 m]
Then rref(A) still gives the appearance of being independent of the value of m. However there is one and only one value, m = -3.2, which makes the matrix singular and in that case the bottom row of rref(A) will become all zeros, showing that it can be affected by the value of m.
You can read about this form and its properties at:
http://en.wikipedia.org/wiki/Row_echelon_form

Categorías

Más información sobre Linear Algebra en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by