Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
error while calculating the eigen values
조회 수: 1 (최근 30일)
이전 댓글 표시
i was trying to calculate the eigen values of a matrix "a-K*c" but the error that i faced is-"Subscript indices must either be real positive integers or logicals."
where
a=1.0e004*[2.3020 0 0 0.6348
0 0.5742 0 1.8741
0 0 -1.9602 -1.8741
3.4847 2.5659 8.7594 -0.0446]
K= 1.0e004*[4.8140 1.3309 -1.1422
1.3309 2.7639 -0.8294
-1.1422 -0.8294 0.3811
3.2187 1.8474 -0.9689]
c=[1 0 0 0
0 1 0 0
0 0 1 0]
댓글 수: 1
the cyclist
2013년 5월 11일
All you've shown us is the definition of the variables. Can you show the code that actually gives the error, so that we can reproduce it?
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!