Recursive modeling in Simulink
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Yannick Ongena
am 18 Mär. 2024
Kommentiert: Yannick Ongena
am 24 Mär. 2024
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 Kommentare
Akzeptierte Antwort
Sam Chak
am 18 Mär. 2024
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 Kommentare
Sam Chak
am 18 Mär. 2024
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?
Weitere Antworten (1)
Yannick Ongena
am 18 Mär. 2024
2 Kommentare
Sam Chak
am 18 Mär. 2024
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?
Siehe auch
Kategorien
Mehr zu Model, Block, and Port Callbacks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

