Effacer les filtres
Effacer les filtres

storing a value as a vector

1 vue (au cours des 30 derniers jours)
cgo
cgo le 4 Juin 2015
Réponse apportée : Ingrid le 4 Juin 2015
Hello,
I am running an iteration which helps find the eigenvalues of a matrix. I want to store the eigenvalues in each iteration so that I can analyze them later. What should I use ? I don't know why
B(:,:) = eig(A)
doesn't work. There are four eigenvalues expected in one matrix.

Réponse acceptée

Ingrid
Ingrid le 4 Juin 2015
for ii = 1:N
B(:,n) = eig(A);
end

Plus de réponses (0)

Catégories

En savoir plus sur Linear Algebra dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by