SignalProcessing
GenerateJaehne
generate a Jaehne array
Calling Sequence
Parameters
Options
Description
Thread Safety
Examples
Compatibility
GenerateJaehne(n, mag)
n
-
posint, number of samples
mag
realcons, magnitude of the signal to be generated
container : Array, predefined Array for holding results
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].
The SignalProcessing[GenerateJaehne] command is thread-safe as of Maple 17.
For more information on thread safety, see index/threadsafe.
with⁡SignalProcessing:
A≔GenerateJaehne⁡10,1
A≔0.0.1564344650402310.5877852522924730.9876883405951380.587785252292473−0.707106781186547−0.5877852522924730.987688340595138−0.5877852522924730.156434465040231
c≔Array⁡1..10,datatype=float8,order=C_order:
A≔GenerateJaehne⁡10,1,container=c
c
0.0.1564344650402310.5877852522924730.9876883405951380.587785252292473−0.707106781186547−0.5877852522924730.987688340595138−0.5877852522924730.156434465040231
SignalPlot⁡GenerateJaehne⁡500,1
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
Download Help Document