storing a value as a vector

15 ビュー (過去 30 日間)
cgo
cgo 2015 年 6 月 4 日
回答済み: Ingrid 2015 年 6 月 4 日
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.

採用された回答

Ingrid
Ingrid 2015 年 6 月 4 日
for ii = 1:N
B(:,n) = eig(A);
end

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by