- #1
Dollydaggerxo
- 62
- 0
Homework Statement
i need to create the phase diagram for the equation [tex]\ddot{x}=x^{3}-x[/tex]
using MATLAB
Homework Equations
Well i have worked out that there is a centre point at 0,0 and a saddle point at -1,0.
The Attempt at a Solution
i found a site on the internet which shows me what the diagram should look like:
(http://fds.oup.com/www.oup.com/pdf/13/9780199208241.pdf ) page 19
but i have no idea how to do this in Matlab.
I tried to do it using a quiver but its not looking anything like this.
Then i tried to do it using ode23 package but i keep getting an error saying "Unable to meet integration tolerances without reducing the step size below the smallest value allowed "
would really really appreciate any help, thanks
Last edited by a moderator: