how to implement ordinary differential equation in Simulink ?

3 ビュー (過去 30 日間)
Aniket
Aniket 2013 年 2 月 3 日
I have three coupled ordinary differential equation and i want to implement it in a Simulink . can anyone tell me how should i do it ? any example ?
the following equations are related to adaptive hopf oscillator which adapt the frequency of external perturbation.
I have implemented in MATLAB but i want to implement it in Simulink.
****************************************
dy(1)/dt = (mu - r^2)y(1) - y(3)*y(2) +K*F(t)
dy(2)/dt = (mu - r^2)y(2) + y(3)*y(1)
dy(3)/dt = -K*F(t) * [y(1)/(sqrt (y(1)^2+y(2)^2))]
********************************************
here r = sqrt(y(1)^2 + y(2)^2)
F (t) = external perturbation k = constant mu = constant and y(1), y(2) and y (3) are having initial values.

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 2 月 3 日
編集済み: Azzi Abdelmalek 2013 年 2 月 3 日
Use derivative , sum , prod , gain , constant and step blocks. you will need also, a source block to your perturbation
  1 件のコメント
Aniket
Aniket 2013 年 2 月 4 日
thank you Azzi. I will try this.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by