Menu

Poincare section

2020-06-26
2020-06-29
  • Ahmed Yagoub Elnour

    Hello there!

    How to plot Poincare bifurcatio diagram with Matcont

    Regards

     

    Last edit: Ahmed Yagoub Elnour 2020-06-28
    • hilmeijer

      hilmeijer - 2020-06-29

      I am copying from an older post;

      Yes, you can stop the simulation at some point using Event functions. It would also allow to create Poincare sections. You need to set what happens at special points (pause or detect).

      This is what you do from the GUI; for the command-line see p44 of the manual.

      Create a separate matlab function in the main folder of MatCont, e.g. MyEvent.m;

      function [res,term,dir]=MyEvent(t,y,varargin)
      res=y(2); % Equation defining the section
      isterminal=0; % 0=Do not stop
      direction=1; % Detect All (0); increasing(1) or decreasing (-1)

      Then select Type-Point; Curve-Orbit, next in the Integrator-window there is an entry Eventfunction. Type "MyEvent" there and press forward.


      From: Ahmed Yagoub Elnour badaweena@users.sourceforge.net
      Sent: Saturday, June 27, 2020 1:53 AM
      To: [matcont:discussion]
      Subject: [matcont:discussion] Poincare section

      Hello there!

      I'm using Matcont 7p2 in Matlab 2019b.
      I was just wondering is it possible to get a Poincare bifurcation diagram (figure attached), i.e: is it possible to get such graph either with MatCont or MatContM.
      I have checked the four Tutorials and the documentation for MatContM and was wondering if I could use it to

      Note: In the figure; x -axis is the bifurcation parameter and y-axis is the state variable

      Thanks and Regards.
      Ahmed Elnour


      Poincare section


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/matcont/discussion/762214/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

Log in to post a comment.