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

조회 수: 2 (최근 30일)
Julia Navarro
Julia Navarro 2021년 7월 31일
답변: Paul 2021년 7월 31일
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.

답변 (1개)

Paul
Paul 2021년 7월 31일
Use a Clock block from the Sources library to output the simulation time (t).

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by