I'm tryng to solve this ODE with ode45:
can someone explain how to do this?
Here is what i tried
t=0:0.005:8;ode = diff(y) == y^2-y*0.1*cos(2*t)-0.2*cos(2*t);y0 = -1;[t,y] = ode45(ode,t,y0);
MATLABMATLAB and Simulink Student Suitematlab functionode45
t=0:0.005:8;ode = diff(y) == y^2-y*0.1*cos(2*t)-0.2*cos(2*t);y0 = -1;[t,y] = ode45(ode,t,y0);
Best Answer