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

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

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

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 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:

>

AGenerateJaehne10,1

A0.0.1564344650402310.5877852522924730.9876883405951380.587785252292473−0.707106781186547−0.5877852522924730.987688340595138−0.5877852522924730.156434465040231

(1)
>

cArray1..10,datatype=float8,order=C_order:

>

AGenerateJaehne10,1,container=c

A0.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)
>

SignalPlotGenerateJaehne500,1

Compatibility

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

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


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /