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
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 个评论

Hello, Fangjun Jiang!
I am sorry I think I expressed myself wrong. I should have said amplitude instead of size. I need to know the step response characteristics of a step of amplitude 0.05 instead of 1.
Would you know how?
Assume your system is linear, then you can multiply your step response with 20 and then run stepinfo().

请先登录,再进行评论。

类别

产品

版本

R2018a

标签

Community Treasure Hunt

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

Start Hunting!

Translated by