How to get the peak overshoot from simulink ?

5 views (last 30 days)
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

Answers (1)

Chidvi Modala
Chidvi Modala on 8 Jun 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)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!