solving ODE45 equation with a continuous updating input

Hello everybody I want to solve an equation with ODE45 solver, but in presence of an input which is been updated in every time sequence. having fixed tspan, how can i solve my equation?

Answers (1)

I am not certain what you want to do.
See the documentation on ODE with Time-Dependent Terms (link) for one approach.

Tags

Answered:

on 26 Nov 2017

Community Treasure Hunt

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

Start Hunting!