Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Control Design   

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

Inputs

'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

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS