odel = @(t,y)t + y + (t*y)[t,y] = ode45(odel,[0:0.03:1],0.5)plot(t,y,'linewidth',2)xlabel('t'), ylabel('y'),grid ontitle('Solution to the ODE dy/dt = t + y + (t*y)')
MATLAB: How can i pull a corresponding y value for t=0.5, the matlab script below will out a list of values for y and t.
odeode45
Best Answer