Matlab error: NaN or Inf prevents convergence.

Status
Not open for further replies.

usernam

Full Member level 5
Joined
Mar 9, 2004
Messages
268
Helped
18
Reputation
36
Reaction score
2
Trophy points
1,298
Activity points
2,081
I'm trying to simulate a circuit in simulink. It was working fine upto a certain point. But after adding a mutual inducatnce element I get the following error.

Error using ==> svd
NaN or Inf prevents convergence.

The circuit is complete and the error comes no matter what values for the mutual inductance are given.
Anybody know where the problem mite be.
 

svd matlab et nan

Hallo,
perhaps after some calculation you have a matrix with an element which is Inf or NaN and when you try to apply the svd to that matrix it gives you an error. svd remembers me the Single Value Decomposition of a matrix, even if I haven't used matlab for about an year. What about adding a visualization of the matrix (or a print to file) just before the svd?

bye
ms
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…