- The initial conditions are set to represent the initial conditions of the system to be simulated. What other considerations might there be?
- 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.
Differntial equations and Initial conditions
조회 수: 1 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
채택된 답변
Paul
2021년 3월 28일
댓글 수: 12
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Block Libraries에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!