generate a ramp waveform - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Dynamic Systems : Signal Generation Tools : DynamicSystems/Ramp

DynamicSystems[Ramp] - generate a ramp waveform

Calling Sequence

Ramp( )

Ramp(slope, t0, y0, opts)

Parameters

slope

-

(optional) algebraic; slope of ramp; default is 1

t0

-

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

y0

-

(optional) algebraic; initial value; default is 0

opts

-

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

Description

• 

The Ramp command generates a ramp waveform.

• 

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

• 

The optional parameter slope specifies the slope of the ramp. Its default value is one.

• 

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

• 

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

Examples

withDynamicSystems:

Ramp

&lcub;0t<0totherwise

(1)

Rampk&comma;t0&comma;y0

&lcub;y0t<t0y0&plus;kt0&plus;totherwise

(2)

Rampdiscrete&equals;true%T

0.1.2.3.4.5.6.7.8.9.

(3)

plotRamp2&comma;1&comma;1&comma;t&equals;3..3

See Also

DynamicSystems, DynamicSystems[Chirp], DynamicSystems[Sinc], DynamicSystems[Sine], DynamicSystems[Square], DynamicSystems[Step], DynamicSystems[Triangle]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam