How to solve an ODE in Simulink with non constant coefficients?

2 visualizaciones (últimos 30 días)
Julia Navarro
Julia Navarro el 31 de Jul. de 2021
Respondida: Paul el 31 de Jul. de 2021
Hi, I am new to Simulink and want to solve a second order, non-linear and non-homogeneous ODE with variable coefficients.
It is the following:
.
The main part I am struggling with is how to implement the independent variable t into the model. Is there a specific block for this?
Thanks in advance for any suggestions.

Respuestas (1)

Paul
Paul el 31 de Jul. de 2021
Use a Clock block from the Sources library to output the simulation time (t).

Categorías

Más información sobre General Applications en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by