How to determine the time (period) the Lotka Volterra system in one revolution, with other method
2 views (last 30 days)
Show older comments
Hello
I would like to determinate the time it takes to return the starting point the Lotka Volterra system. I have the function to make it, but is not functional for my objetive, someone have a diferente form?
I show mi function, the problem is that the method has a angles, and for my objective is not functional.
Thank you very much for your help!
function [g,isterm,dir] = pits(t,y)
sig = sign(eta(1)-mu(1)+realmin);
theta1 = atan2(sig*(y(2)-mu(2)),sig*(y(1)-mu(1)));
theta0 = atan2(sig*(eta(2)-mu(2)),sig*(eta(1)-mu(1)));
g = theta1 - theta0;
isterm = t > 1;
dir = 1;
end
0 Comments
Answers (0)
See Also
Categories
Find more on Interpolation 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!