How to get the peak overshoot from simulink ?

5 visualizzazioni (ultimi 30 giorni)
CHEW Yen LI
CHEW Yen LI il 5 Giu 2021
Risposto: Chidvi Modala il 8 Giu 2021
HI, sorry for interrupt , can I know how to get the peak overshoot from simulink ? I know that we can use the workspace block on the simulink to tranfer the graph to the workspace but after that how can I find the peak overshoot ? hope any poeple that are good in this can provide me a help

Risposte (1)

Chidvi Modala
Chidvi Modala il 8 Giu 2021
If you have Control System Toolbox, you can use stepinfo. For example, If you save the data in "structure with time format" as "var", you may use something like below
stepinfo(var.signals.values, var.time)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by