Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

frest.createStep

Package: frest

Step input signal

Syntax

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

Description

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

'OptionName',OptionValue

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

Examples

Create step signal:

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

Introduced in R2009b

Was this topic helpful?