Generating; Rise Time, Overshoot etc from step input in Simulink

14 views (last 30 days)
Firstly I'm an absolute beginner to Matlab/simulink. From a PID control system generated in simulink, I've plotted 2-d graphs from (tout & simout). The problem I have, is I cant right click on the graph to generate overshoot etc. Could you please give me step by step instructions (that a 10 year old could follow) to generate Overshoot, Settling time etc. Thanks

Answers (2)

Arkadiy Turevskiy
Arkadiy Turevskiy on 18 Nov 2013
Please take a look at the stepinfo function. That's what you need to use.

durga devi
durga devi on 12 Aug 2015
>> s=tf('s'); >> sys=(1/(s+1)); >> s = stepinfo(sys,'RiseTimeLimits',[0.05,0.95])
s =
RiseTime: 2.9445
SettlingTime: 3.9124
SettlingMin: 0.9523
SettlingMax: 0.9996
Overshoot: 0
Undershoot: 0
Peak: 0.9996
PeakTime: 7.8163

Community Treasure Hunt

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

Start Hunting!