% Example 12-6: Solving an ODE % Call the ODE solver ode45 [t y] = ode45(@ODEex12_6, [1:0.5:3], 4.2) pause % Solve again with smaller spacing for the plot [t y] = ode45(@ODEex12_6, [1:0.01:3], 4.2) plot(t, y) xlabel('t'); ylabel('y')