What code do I need to write to simulate this block diagram?

Réponses (1)

Sebastian Castro
Sebastian Castro le 18 Juin 2015
Do you plan on using MATLAB or Simulink?
In MATLAB, you can use the tf function to make a transfer function. Then, you can string linear systems together and connect them in loops using functions like feedback (this page has nice examples).
In Simulink, there are Transfer Fcn blocks which work very similarly to the MATLAB approach. The Modeling a Continuous System documentation page might be a good start too.
- Sebastian

Catégories

En savoir plus sur Modeling dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by