Choosing the Step Size using Stepinfo
古いコメントを表示
Dear all,
Would you know how to select the size of the step function when using stepinfo? I know it is equal to 1 by default, but I need to use different values.
I appreciate your help!!
Sincerely,
Andre Luna.
回答 (1 件)
Fangjun Jiang
2019 年 1 月 25 日
編集済み: Fangjun Jiang
2019 年 1 月 28 日
0 投票
stepinfo() is to tell step response characteristics such as rise time, overshoott, etc. given that the step response is provided.
What you need is step(). You can run step(SYS,T) in which T specifies the time vector. You can choose your step size by specifying T, for example, T=0:0.01:2
2 件のコメント
Andre Lucas De Luna Santos
2019 年 1 月 25 日
Fangjun Jiang
2019 年 1 月 28 日
Assume your system is linear, then you can multiply your step response with 20 and then run stepinfo().
カテゴリ
ヘルプ センター および File Exchange で Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!