![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/568289/image.png)
Simulink execution for plant transfer function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How do you execute the following plant transfer function in simulink? especially the switch at T = 1.0 sec
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/564836/image.png)
0 Kommentare
Antworten (1)
Pavan Guntha
am 31 Mär. 2021
Hi Ketan,
You can refer to the documentations of LTI system and Transfer Fcn blocks to generate the transfer functions.
For the transfer function which contains exp(-sT) term you can refer to the Specifying time delays documentation page for more details. Time delay approximation is another alternative which can be conisdered to model such exponential terms in transfer functions.
For the switch part, you could use clock block to get track of the current simulation time and use a switch to properly route the signal to the next blocks. This is illustrated in the figure below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/568289/image.png)
Hope this helps!
0 Kommentare
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!