mex mjdgges gives a -Inf + NaN * i eigenvalues, .m different

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

mex mjdgges gives a -Inf + NaN * i eigenvalues, .m different

Postby cfp » Sat May 22, 2010 3:32 pm

When I solve my model using the mex mjdgges one of the eigenvals comes up as -Inf + NaN * i. However when I force it to use the .m version the eigenval just comes up as Inf + 0 * i.

Since the Matlab version is so incredibly slow it would certainly be nice if I could use the mex one. I presume this is just a numerical accuracy thing though about which not much could be done?

Any suggestions would be much appreciated in any case.

Thanks,

Tom
cfp
 
Posts: 60
Joined: Mon Mar 15, 2010 9:18 pm

Re: mex mjdgges gives a -Inf + NaN * i eigenvalues, .m different

Postby jpfeifer » Sat May 22, 2010 5:42 pm

The issue should have been solved in the current snapshot. However, even in the current version it should not affect the results. See http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=1814
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: mex mjdgges gives a -Inf + NaN * i eigenvalues, .m different

Postby cfp » Sat May 22, 2010 6:19 pm

Great thanks.
cfp
 
Posts: 60
Joined: Mon Mar 15, 2010 9:18 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 13 guests