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 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.


collapse all

Create a transfer function model.

sys = tf(1,[1,1]);

Create an option set for step to specify input offset and step amplitude level.

opt = stepDataOptions('InputOffset',-1,'StepAmplitude',2);

Calculate the step response using the specified options.

[y,t] = step(sys,opt);

See Also

Introduced in R2012a