2nd order system in Simulink

6 ビュー (過去 30 日間)
Angelica Belo
Angelica Belo 2021 年 9 月 5 日
編集済み: Gagan Baishya 2021 年 9 月 15 日
I was tasked to construct the following 2nd order system in simulink:
y'' + 5y' + 6 = 0; y(0) = 0, y'(0) = 1
I have the following so far:
I'm not sure where and how I can input the y(0) = 0, y'(0) = 1 part.
I was wondering if I'm missing something or if this is correct already. Thank you!
  1 件のコメント
Paul
Paul 2021 年 9 月 5 日
Are you sure that differential equation shouldn't be: y'' + 5y' + 6y = 0 ?

サインインしてコメントする。

回答 (1 件)

Gagan Baishya
Gagan Baishya 2021 年 9 月 15 日
編集済み: Gagan Baishya 2021 年 9 月 15 日
Hi,
You are missing one more integrator block. Also you can specify the initial condition by simply double clicking both the integrator blocks and setting the initial condition to 0 & 1.
To understand more about drawing ODEs in Simulink, please follow the link below: https://blogs.mathworks.com/simulink/2008/05/23/how-to-draw-odes-in-simulink/

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by