Menu

#64 How to solve the issues with "Warning: Matrix is singular"

---
open
nobody
None
2025-03-10
2025-02-18
No

Dear Owner,
I hope this message finds you well.

I am having an issue while continuing periodic orbits from Hopf points.
I am getting the periodic orbit but at the same time I want to know the floquet multipliers ('eigs' column). If I use bifus 'on', then a WARNING comes, and 'eigs' column (in bd2) shows 'NaN'.
To get rid of this warning, currently I am turning bifus 'off';

So, it would be so humble if you please check my attached code, and help me fix the warning so that I can see my 'eigs' column correctly.

Keeping the time constraint in mind, I set the code in way that it will take just a minute to run.

Thank you for your time and consideration.

Regards
Azmir Ibne Islam

1 Attachments

Discussion

  • Harry Dankowicz

    Harry Dankowicz - 2025-03-07

    Hello Azmir,

    I recommend that you compare your implementation to one of the demos that include continuation of periodic orbits from a Hopf bifurcation. Without checking your code, I am inclined to suspect a typo somewhere in your Jacobian. As always, you need to be concerned about appropriate use of vectorization, differentiability, and division by 0.

    I hope that helps.

    Harry

     
    • Md Azmir Ibne Islam

      Thank you so very much Dear Prof. Harry for your suggestion.
      I will surely look into it and let you know the update.

       

Log in to post a comment.

MongoDB Logo MongoDB