What code do I need to write to simulate this block diagram?
2 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Sebastian Castro
2015-6-18
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!