MATLAB Answers

How to get the peak overshoot from simulink ?

1 view (last 30 days)
CHEW Yen LI
CHEW Yen LI on 5 Jun 2021
Answered: Chidvi Modala on 8 Jun 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

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)

Community Treasure Hunt

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

Start Hunting!