stepinfo
23 views (last 30 days)
Show older comments
why stepinfo function don't give me any numerical results for
>> q=tf([1 2 ],[ 1 2 3 4 5 7]); >> stepinfo(q)
ans =
RiseTime: NaN
SettlingTime: NaN
SettlingMin: NaN
SettlingMax: NaN
Overshoot: NaN
Undershoot: NaN
Peak: Inf
PeakTime: Inf
0 Comments
Accepted Answer
Walter Roberson
on 14 Jun 2011
1 and 2 are roots of the numerator and are also roots of the denominator. Therefore at 1 and 2, the value of the function is not simply one of the infinities but is instead 0/0 = NaN . Transfer functions that have point singularities like this do not have defined values for the parameters you are looking for.
2 Comments
Walter Roberson
on 14 Jun 2011
Sorry, I do not have that toolbox available to test.
The documentation shows a 5th order example,
http://www.mathworks.com/help/toolbox/control/ref/stepinfo.html
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!