generate a Jaehne array - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Signal Processing : Signal Generation : SignalProcessing/GenerateJaehne

SignalProcessing[GenerateJaehne] - generate a Jaehne array

Calling Sequence

GenerateJaehne(n, mag)

Parameters

n

-

posint, number of samples

mag

-

realcons, magnitude of the signal to be generated

Description

• 

The GenerateJaehne(n, mag) command generates an n-dimensional Jaehne array. The result is returned in an Array with datatype float[8].

• 

The Jaehne array of length n is defined by computing the k-th sample as msinπk22n, where m is the magnitude of the signal.

• 

If the container=C option is provided, then the results are put into C and C is returned. With this option, no additional memory is allocated to store the result. The container must be an Array of size n having datatype float[8].

Thread Safety

• 

The SignalProcessing[GenerateJaehne] command is thread-safe as of Maple 17.

• 

For more information on thread safety, see index/threadsafe.

Examples

withSignalProcessing:

A:=GenerateJaehne10,1

A:=0.0.1564344650402310.5877852522924730.9876883405951380.5877852522924730.7071067811865470.5877852522924730.9876883405951380.5877852522924730.156434465040231

(1)

c:=Array1..10,'datatype'='float'8,'order'='C_order':

A:=GenerateJaehne10,1,'container'=c

A:=0.0.1564344650402310.5877852522924730.9876883405951380.5877852522924730.7071067811865470.5877852522924730.9876883405951380.5877852522924730.156434465040231

(2)

c

0.0.1564344650402310.5877852522924730.9876883405951380.5877852522924730.7071067811865470.5877852522924730.9876883405951380.5877852522924730.156434465040231

(3)

plots:-listplotGenerateJaehne500,1

See Also

GenerateGaussian, GenerateTone, GenerateUniform


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