Matlab, Excel, Engineering, Computing Education.
equation using ode45: [t, y] = ode45(@myFun, [0, 10], y0); Once we have solved a differential equation using the ode45 function in MATLAB, we can plot the solution using the plot function. For example, to plot the solution of the differential equation y'' + y = 0 that we solved above, we can use