필터 지우기
필터 지우기

Negative Eigenvalues found in 12x12 Matrix

조회 수: 3 (최근 30일)
jazim sohail
jazim sohail 2020년 2월 14일
답변: Jon 2020년 2월 14일
I have attached a 12x12 matrix that I need to find the eigenvalues for. I have tried the following Eigenvalue function, (MATLAB Version: 9.5.0.944444 (R2018b))
[Mod1, Eigs1] = eig(cor)
I wanted to ask why I am getting negative eigenvalues in the matrix. My knowledge of matrices isnt the best, so is it due to the type of matrix "cor" is or is it something to do with the function eigs limitations? From theory I know the eigenvalues should be positive for what I am trying to do, so if theres something wrong with the matrix I can look at it and work backwards to fix the problem.
Any help would be highly appreciated.

답변 (1개)

Jon
Jon 2020년 2월 14일
I would trust the result of the eig function. If you do not think your matrix, cor, should have negative eigenvalues, then you must have made some mistake earlier in computing your matrix cor.
You could post the relevant part of your code here so others can see and maybe help. Please use the code button on the MATLAB Answers toolbar to have it nicely formatted

카테고리

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