storing a value as a vector

2 次查看(过去 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 CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by