How to link a parameters table (loaded in global vector) to an ODE resolutor
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I need to change the value of a parameter used in an Odefun (in a resolver Ode45 type or similar) throughout the simulation time. The simulation time is 10 seconds with steps of 1 millisecond, that is, 10,000 different values are specified for the parameter and they are loaded in a vector of the global type. Since the evaluation of the Odefun occurs several times in each step, I cannot link the index of the parameter vector with the simulation time to extract the corresponding value. Is there any way to achieve it?
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu General Applications finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!