generate a sinusoidal waveform - Maple Help

Online Help

All Products    Maple    MapleSim


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

DynamicSystems[Sine] - generate a sinusoidal waveform

Calling Sequence

Sine( )

Sine(yht, f)

Sine(yht, f, t0, y0)

Sine(yht, f, t0, y0, opts)

Parameters

yht

-

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

f

-

(optional) algebraic; frequency of sine wave; default is 1

t0

-

(optional) algebraic; delay to sine; default is 0

y0

-

(optional) algebraic; initial value; default is 0

opts

-

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

Description

• 

The Sine command generates a periodic triangular waveform.

• 

By default, Sine returns an expression representing the waveform. If the option discrete is assigned true, Sine returns a Vector of data points.

• 

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

• 

The optional parameter f specifies the frequency of the waveform. The default is one. The units of f are determined by the keyword parameter hertz.

• 

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

• 

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

Examples

withDynamicSystems:

Sine

&lcub;0t<0sintotherwise

(1)

Sineyht&comma;f&comma;t0&comma;y0

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

(2)

Sinediscrete&equals;true%T

0.0.84147098480.90929742680.14112000810.75680249530.95892427470.27941549820.65698659870.98935824660.4121184852

(3)

plotSine1&comma;32&comma;0&comma;0&comma;t&equals;0..9.5

See Also

DynamicSystems, DynamicSystems[Chirp], DynamicSystems[Ramp], DynamicSystems[Sinc], 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