필터 지우기
필터 지우기

storing a value as a vector

조회 수: 1 (최근 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