Choosing the Step Size using Stepinfo
6 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Fangjun Jiang
2019-1-25
编辑:Fangjun Jiang
2019-1-28
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 个评论
Fangjun Jiang
2019-1-28
Assume your system is linear, then you can multiply your step response with 20 and then run stepinfo().
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Digital Filter Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!