How to link a parameters table (loaded in global vector) to an ODE resolutor
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre General Applications en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!