What is the range for 'SettlingTimeThreshold' in stepinfo?
8 ビュー (過去 30 日間)
古いコメントを表示
I want to look at Settling Time Threshold of 0.0001(0.01%) but it splits out NaN.
0 件のコメント
採用された回答
Suze Zhang
2017 年 9 月 22 日
Hi Onn Lim,
From the documentation for function "stepinfo", the function input "SettlingTimeThreshold" should be a scalar between value 0 and 1. In your case, the value 0.0001 is within the accepted range. However, the NaN value of the settling time could be that there is not a finite time which takes for the error y(t) - yfinal between the response y(t) and the steady-state response yfinal to fall to within 0.01% of yfinal for the dynamic system that passed into the "stepinfo" function.
The following system "sys" is from an example on the Documentation page for function "stepinfo":
A = [0.68 -0.34; 0.34 0.68];
B = [0.18 -0.05; 0.04 0.11];
C = [0 -1.53; -1.12 -1.10];
D = [0 0; 0.06 -0.37];
sys = ss(A,B,C,D,0.2);
It can be seen that changing the "SetllingTimeThreshold" to 0.0001 for this case the values of "SettlingTime" are not NaN:
S1 = stepinfo(sys,'SettlingTimeThreshold',0.0001)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Response Computation and Visualization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!