This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Package: frest

Step input signal


input = frest.createStep('OptionName',OptionValue)


input = frest.createStep('OptionName',OptionValue) creates a step input signal as a MATLAB® timeseries object using the options specified by comma-separated name/value pairs.

Plot your input signal using plot(input).

Input Arguments


Signal characteristics, specified as comma-separated option name and option value pairs.

Option NameOption Value
'Ts'Sample time of the step input in seconds.

Default: 1e-3
'StepTime'Time in seconds when the output jumps from 0 to the StepSize parameter.

Default: 1
'StepSize'Value of the step signal after time reaches and exceeds the StepTime parameter.

Default: 1
'FinalTimeFinal time of the step input signal in seconds.

Default: 10


Create step signal:

input = frest.createStep('StepTime',3,'StepSize',2)

Introduced in R2009b

Was this topic helpful?