Filter löschen
Filter löschen

How can I obtain a row with only zeros using the row reduction method?

1 Ansicht (letzte 30 Tage)
Jonas Morgner
Jonas Morgner am 8 Mai 2022
Beantwortet: Matt J am 8 Mai 2022
m1 = [7 3; 3 -1] % Matrix
I = eye(2) % Identity matrix
Lamda = 8 % The value for λ
% B
LaI = I * Lamda % Identity matrix - value of λ
m2s = m1 - LaI % Caluculating the new matrix
% C
zc = zeros(size(m2s,1),1) % creating a zero column
m3s = [m2s, zc]
How can I use the row reduction method to only get a row with only zeros?

Antworten (1)

Matt J
Matt J am 8 Mai 2022

Kategorien

Mehr zu Cell Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by