Error using eig Input matrix contains NaN or Inf.

2 visualizaciones (últimos 30 días)
Tilman Zottl
Tilman Zottl el 20 de Jul. de 2021
Comentada: Jan el 20 de Jul. de 2021
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.

Respuestas (1)

Jan
Jan el 20 de Jul. de 2021
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 comentarios
Tilman Zottl
Tilman Zottl el 20 de Jul. de 2021
Editada: Tilman Zottl el 20 de Jul. de 2021
Also I am ussing the dcc.m function of the MFE Toolbox
Jan
Jan el 20 de Jul. de 2021
Does r contain zeros? Then R must contain NaNs and eig() cannot work anymore.

Iniciar sesión para comentar.

Categorías

Más información sobre Linear Algebra en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by