jeanluct / braidlab

Matlab package for analyzing data using braids
GNU General Public License v3.0
23 stars 9 forks source link

Create braid directly from ODE #126

Open jeanluct opened 9 years ago

jeanluct commented 9 years ago

(Spinoff of #124.)

Have the braid constructor take a function handle as an argument, which could then be used to call ode45 and generate the braid.

Example:

b = braid(@func,tspan,XY0);  % create braid of trajectories starting at XY0

Syntax is meant to mimic ode45. Could even pass optional ode45 options at the end. The RHS function @func only takes one trajectory at a time, and XY0 is a set of n initial conditions. (XY0 should have dimension [2 n], to agree with the XY constructor.)

An implementation might involve going through by pairs of strings, and setting and @events function for when the x coordinates coincide.

jeanluct commented 9 years ago

Started implementing this on iss126-braid-from-ODE branch.

jeanluct commented 8 years ago

Some more thoughts about this:

jeanluct commented 8 years ago

Continued to implement this. 2d721e4 is a reasonable prototype. It surprisingly slow, however, compared to equally-spaced sampling. Maybe that's a feature of the simple flow I'm using.