result of stepinfo size is 1x1 ...how can i extract settling time to another variable

3 次查看(过去 30 天)
my objective is to minimize the settling time....so at each and every time have to calculate settling time...for that am using stepinfo syntax
result is coming like below
S = RiseTime: 0.0015
SettlingTime: 17.4555
SettlingMin: 48.2799
SettlingMax: 50.7285
Overshoot: 1.4607
Undershoot: 0
Peak: 50.7285_
PeakTime: 5.9900
so how can i take settlingTime or any value to another variable
am grateful to u if u respond _____________THANKING YOU

采纳的回答

Birdman
Birdman 2017-12-1
Consider this approach:
Gs=tf(1,[1 1]);
result=stepinfo(Gs);
SettlingTime=result.SettlingTime
  3 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Source Control Integration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by