function driver
tspan=[5 25];
u0=2;
v0=5;
y0=[u0 ; v0];
[T,Y]=ode45(@myfun,tspan,y0);
dy=myfun(t,y)
u=y(1);
v=y(2);
dy=zeros(2,1);
dy(1)=sin(u*v);
dy(2)=5*u-3*v;
Best wishes
Torsten.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!