Step - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DynamicSystems

  

Step

  

generate a step waveform

 

Calling Sequence

Parameters

Options

Description

Examples

Calling Sequence

Step( )

Step(yht, t0, y0)

Step(yht, t0, y0, opts)

Parameters

yht

-

(optional) algebraic; height of step wave; default is 1

t0

-

(optional) algebraic; delay to start of step wave; default is 0

y0

-

(optional) algebraic; initial value; default is 0

opts

-

(optional) equation(s) of the form option = value; specify options for the Step command

Options

• 

discrete = truefalse

Specifies that the output is a Vector containing samples of the waveform. Elements of the Vector are samples of the waveform. The number of elements in the Vector is given by samplecount. The i-th element corresponds to a sample at time t=(i-1)*sampletime. The default is the value of discrete in DynamicSystems[SystemOptions].

• 

samplecount = posint

Specifies the number of samples in the output Vector. It is used with the discrete option. The default is the value of samplecount in DynamicSystems[SystemOptions].

• 

sampletime = positive

Specifies the time between samples in the output Vector. It is used with the discrete option. The default is the value of sampletime in DynamicSystems[SystemOptions].

Description

• 

The Step command generates a step waveform.

• 

By default, Step returns a piecewise expression representing a step. If the option discrete is assigned true, Step returns a Vector of data points.

• 

The optional parameter yht specifies the height of the step. Its default value is one.

• 

The optional parameter t0 specifies the time of the step. Its default value is zero.

• 

The optional parameter y0 specifies the initial value. Its default value is zero.

Examples

withDynamicSystems:

Step

Heavisidet

(1)

Stepyht,t0,y0

y0+yhtHeavisidett0

(2)

Stepdiscrete=true%T

1.1.1.1.1.1.1.1.1.1.

(3)

plotStep2,1,0,t=5..5

See Also

DynamicSystems

DynamicSystems[Chirp]

DynamicSystems[Ramp]

DynamicSystems[Sinc]

DynamicSystems[Sine]

DynamicSystems[Square]

DynamicSystems[Triangle]