Use the last value of the independet variable inside an ode loop

1 view (last 30 days)
Hi,
I'm trying to solve a numerical integration inside an ode loop. This requires me to know the value of the last time variable (my independent variable). But how can I access this in matlab?
BR,
Joakim

Answers (0)

Community Treasure Hunt

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

Start Hunting!