From: Erik Dambach on
Hello

I have a stiff system of ODEs where one of the equations is implicit. I am using ode15i to try to solve the system of equations. I have been getting the following warning:

"Warning: Matrix is singular, close to singular or badly scaled.
Results may be inaccurate. RCOND = NaN.
In ode15i at 353"

I do not get this warning all of the time, just for certain time steps. Since it appears to be occurring within the ode15i function, I am having a lot of difficulty trying to troubleshoot the problem. Any thoughts or advice would be greatly appreciated.
Thank you.