How can I plot the difference of the solution of two differential equations vs time?
12 views (last 30 days)
Yogesh Khurana on 16 Oct 2019
Difference in the solutions of two differential equations can be obtained by using diff command in MATLAB. Afterwards you can use plot function and provide the arguments properly.
In case of some missing data in some of the timestamps in any of the differential equation’s solution, you can use interpolation.
You can find some more details in the solution posted in the below link:
Hope this helps!