GenerateJaehne - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


SignalProcessing

  

GenerateJaehne

  

generate a Jaehne array

 

Calling Sequence

Parameters

Options

Description

Thread Safety

Examples

Compatibility

Calling Sequence

GenerateJaehne(n, mag)

Parameters

n

-

posint, number of samples

mag

-

realcons, magnitude of the signal to be generated

Options

• 

container : Array, predefined Array for holding results

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 m⁢sin⁡π⁢k22⁢n, 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

> 

with⁡SignalProcessing:

> 

A≔GenerateJaehne⁡10,1

A≔0.0.1564344650402310.5877852522924730.9876883405951380.587785252292473−0.707106781186547−0.5877852522924730.987688340595138−0.5877852522924730.156434465040231

(1)
> 

c≔Array⁡1..10,datatype=float8,order=C_order:

> 

A≔GenerateJaehne⁡10,1,container=c

A≔0.0.1564344650402310.5877852522924730.9876883405951380.587785252292473−0.707106781186547−0.5877852522924730.987688340595138−0.5877852522924730.156434465040231

(2)
> 

c

0.0.1564344650402310.5877852522924730.9876883405951380.587785252292473−0.707106781186547−0.5877852522924730.987688340595138−0.5877852522924730.156434465040231

(3)
> 

SignalPlot⁡GenerateJaehne⁡500,1

Compatibility

• 

The SignalProcessing[GenerateJaehne] command was introduced in Maple 17.

• 

For more information on Maple 17 changes, see Updates in Maple 17.

See Also

GenerateGaussian

GenerateTone

GenerateUniform