Using Runge Kutta function to solve Rossler equations

24 views (last 30 days)
jacob Mitch
jacob Mitch on 8 Nov 2019
Edited: jacob Mitch on 12 Nov 2019
I have created a runge kutta 4th order function by so
jacob Mitch
jacob Mitch on 8 Nov 2019
yes I believe my function rk4 is perfect but Im not sure how to use it to solve the Rossler equations for initial conditions

Sign in to comment.

Accepted Answer

darova on 8 Nov 2019
Write your f function as
%where I fix parameters say c=5, b=3, a=0.2 Xˆ = (0, 0, 0.2)^T time interval [0,250] and step size h=0.01
f = @(t,y) [ -y(1)-y(2)
b+y(3)*(y(1)-c) ];

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by