Recursive modeling in Simulink
조회 수: 11 (최근 30일)
이전 댓글 표시
I am learning Simulink. I've done around 50% of the onramp course so I tried modeling something on my own.
One of the reasons I wanted to learn simulink is to model population models so that's what I started with. The problem is, however that it's a recursive model and I don't know how to make this work in simulink...
The below is what I tried:

댓글 수: 5
채택된 답변
Sam Chak
2024년 3월 18일
If the population model can be represented as a discrete state-space system, then the appropriate approach would be to utilize the Discrete State-Space block.
댓글 수: 3
Sam Chak
2024년 3월 18일
If you found the suggestion regarding the Discrete State-Space block and the rounding issue helpful, please consider clicking 'Accept' ✔️ on the answer. Do you primarily deal with discrete systems?
추가 답변 (1개)
Yannick Ongena
2024년 3월 18일
댓글 수: 2
Sam Chak
2024년 3월 18일
By the way, is your population model continuous or discrete? For instance, if the current population count is 34, it wouldn't make sense to have 3.4 births (where 0.4 represents half-alive individuals) or 6.8 deaths (where 0.8 indicates individuals on the brink of death), correct?
참고 항목
카테고리
Help Center 및 File Exchange에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

