How to get the peak overshoot from simulink ?

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)

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 Centro assistenza e File Exchange

Richiesto:

il 5 Giu 2021

Risposto:

il 8 Giu 2021

Community Treasure Hunt

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

Start Hunting!

Translated by