Error using eig Input matrix contains NaN or Inf.

조회 수: 6 (최근 30일)
Tilman Zottl
Tilman Zottl 2021년 7월 20일
댓글: Jan 2021년 7월 20일
I get the error shown below trying to run a DCC GARCH Model. How can I correct this? I tried to use abs(X) on each variable but it still does not work.
Thanks for all advice in advance.
Error using eig
Input matrix contains NaN or Inf.

답변 (1개)

Jan
Jan 2021년 7월 20일
The error message is clear: The input of eig() cannot contain NaN or Inf.
Without seeing your code, the readers cannot guess, where the NaN or Inf are coming from and how you could avoid this problem. Why do you assume that abs(X) helps and what does "on each variable" mean?
  댓글 수: 3
Tilman Zottl
Tilman Zottl 2021년 7월 20일
편집: Tilman Zottl 2021년 7월 20일
Also I am ussing the dcc.m function of the MFE Toolbox
Jan
Jan 2021년 7월 20일
Does r contain zeros? Then R must contain NaNs and eig() cannot work anymore.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Conditional Variance Models에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by