Show Step Response Information on Step Response Plot
Show older comments
Normally, if I want to display the information of the Step Response (peak, rise time, etc). I click on the plot and select "Characteristics > Peak Response",etc. I intend to design a Gui (very basic one) that the Step Response will automatically show these information at run-time.
step(handles.axes_step,sys, stepinfo(sys)) %I have trouble with the show stepinfo on the plot. If I cannot find a way, I just let it be but I guess there should be a way.
Accepted Answer
More Answers (3)
Jeffry
on 4 Nov 2018
sys = tf(1,[1 .5]);
h = stepplot(sys);
grid on
% characteristics are those found under h.CharacteristicManager.CharacteristicID
h.showCharacteristic('PeakResponse')
h.showCharacteristic('RiseTime')
1 Comment
James Richard
on 22 Nov 2018
Go to
[Your Installation Directory]\toolbox\shared\controllib\graphics\@wrfc\@plot\
for more information on this topic
because showCharacteristic.m file is also available there
Tekno
on 6 Mar 2018
0 votes
dear Jonathan LeSage i have data in figure , how can i get the step info from it? im using matlab 2015 version, please your support.
SimTec
on 24 May 2018
0 votes
what if we don't have the math model in my case, I saved data to "to Workspace" but got erros
Categories
Find more on Classical Control Design 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!