フィルターのクリア

Differntial equations and Initial conditions

1 回表示 (過去 30 日間)
KaMATLAB
KaMATLAB 2021 年 3 月 28 日
コメント済み: KaMATLAB 2021 年 3 月 31 日
1. What are the main considerations for selecting initial conditions for solving dynamics equations using Matlab Simulink. For instance, setting the initial conditions in the continuous state block or integral block?
2. Is it possible to use a mathematcal expression or relation instead of a number as the initial condition in the integral block of Simulink?

採用された回答

Paul
Paul 2021 年 3 月 28 日
  1. The initial conditions are set to represent the initial conditions of the system to be simulated. What other considerations might there be?
  2. Yes. Any expression can be used that returns a value that is consistent with the requirements for the initial condition of the block in question.
  12 件のコメント
Paul
Paul 2021 年 3 月 30 日
Let X0 be the vector of initial conditions. One approach would be to compute
X0(1) = ....
X0(2) = ....
i.e., fill in each element X0 with the initial condition cacualtion in the base workspace. Then X0 is the Initial Condition parameter in the Integrator block.
KaMATLAB
KaMATLAB 2021 年 3 月 31 日
Great! perfect!!! thank you so much

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by