Plotting with Ode45

7 views (last 30 days)
Joseph Augustus Golter
Joseph Augustus Golter on 12 Oct 2020
Answered: Ameer Hamza on 12 Oct 2020
I am trying to plot an ode45 function that includes a vector varying component. How would I plot this while including the changes from the vector?

Answers (1)

Ameer Hamza
Ameer Hamza on 12 Oct 2020
Are you trying to include a time-varying parameter in your ODE? See this example here: https://www.mathworks.com/help/matlab/ref/ode45.html#bu3l43b

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!