How to solve Differential Equation in Simulink Model

Hi, How to write this model into simulink :
{ dv/dt = -4.5 - 0.42v - 0.334v^2 }
I was unable how to write when model include 0.334v^2.
Someone pls help me.
tq...

 채택된 답변

Arnaud Miege
Arnaud Miege 2011년 5월 16일

0 개 추천

Use the Math Function block, and select square as the function. Once you have calculated dv/dt, you can then use the integrator block to calculate v and feed it back to the RHS of the equation.
HTH,
Arnaud

추가 답변 (1개)

Rizuwan Mustaffa
Rizuwan Mustaffa 2011년 8월 11일

0 개 추천

tq....Arnauld, sorry for late reply....

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by