How to obtain the eigenvalues when I get the warning that the matrix is singular?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
How can I obtain the row reduction method to get the values for Lamda?
% A
I = eye(2)
m1 = [7 3; 3 -1]
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] % adding the zero column at the end
I tried to use the forward an backward passing method, but there I only get the warning that the matrix is singular.
0 Commenti
Risposte (1)
Walter Roberson
il 4 Mag 2022
% A
I = eye(2)
m1 = [7 3; 3 -1]
syms Lamda % The value for λ
% B
LaI = I * Lamda % Identity matrix - value of λ
m2s = m1 - LaI % Caluculating the new matrix
d = det(m2s)
eigens = solve(d)
0 Commenti
Vedere anche
Categorie
Scopri di più su Dynamic System Models in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!