Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

stepDataOptions

Options set for step

Syntax

opt = stepDataOptions
opt = stepDataOptions(Name,Value)

Description

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.

'InputOffset'

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

Default: 0

'StepAmplitude'

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

Default: 1

Output Arguments

opt

Option set containing the specified options for step.

Examples

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


Was this topic helpful?