Warning: Matrix is singular, close to singular or badly scaled.
2 views (last 30 days)
Show older comments
I am trying to draw a bifurcation diagram. The code gives me the following warning:
Warning: Matrix is singular, close to singular or badly scaled. Results may be inaccurate. RCOND = NaN.
> In ode15s (line 589)
> In NewBifur3 (line 21)
Could you please help me to fix it?
0 Comments
Answers (2)
Image Analyst
on 28 Jan 2018
Usually when I see that, I think it means I need to normalize (scale) my data.
0 Comments
Umesh Prajapati
on 28 Mar 2018
Check the second column of solution matrix. It is zero throughout. That's why you got the warning. It depends on the parameter value also. When you change those value result will also change.
0 Comments
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!