Options set for step


opt = stepDataOptions
opt = stepDataOptions(Name,Value)


opt = stepDataOptions creates the default options for step.

opt = stepDataOptions(Name,Value) creates an options set with the options specified by one or more Name,Value pair arguments.

Input Arguments

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside single quotes (' '). You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.


Input signal level for all time t < 0, as shown in the next figure.

Default: 0


Change of input signal level which occurs at time t = 0, as shown in the previous figure.

Default: 1

Output Arguments


Option set containing the specified options for step.


expand all

Specify Input Offset and Step Amplitude Level

Specify the input offset and amplitude level for step response.

sys = tf(1,[1,1]);
opt = stepDataOptions('InputOffset',-1,'StepAmplitude',2);
[y,t] = step(sys,opt)  

See Also

Was this topic helpful?