In my uni course we are having to develop a matlab script which determines the solutions to specific ODE's. The following system of ODE's is as seen below in the image, with the question following;
I am seriously struggling to understand how to use ODE45 even with the inbuilt MATLAB help function. I have looked at countless of videos but they all don't explain it too well for my level atleast. My current code is as seen below;
function[t,x,y,z] = Ass3(sigma,beta,rho,tmax,x0,y0,z0);
tspan=[0 tmax];
eqdot = [sigma$*$y-sigma$*$x);x$*$rho-x$*$z-y;x$*$y-beta$*$z];
[t,x,y,z] = ode45(eqdot,tspan,[x0,y0,z0])
end
Any help will be greatly appreciated :). Thank you in advance!
