Skip to Main Content Skip to Search
Product Documentation

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 pairs of option name string and the option value.

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)

See Also

frest.simCompare | frestimate

How To

  


Free Control Systems Interactive Kit

Learn more about resources for designing, testing, and implementing control systems.

Get free kit

Trials Available

Try the latest control systems products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS