Warning: Matrix is singular, close to singular or badly scaled.

2 views (last 30 days)
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?

Answers (2)

Image Analyst
Image Analyst on 28 Jan 2018
Usually when I see that, I think it means I need to normalize (scale) my data.

Umesh Prajapati
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.

Community Treasure Hunt

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

Start Hunting!