generate a tone
GenerateTone( n, magnitude, frequency, phase )
posint, number of samples to generate
realcons, magnitude of the signal
realcons, the frequency of the signal (0 <= frequency < 1/2)
realcons, the phase of the signal (0 <= phase < 2Pi)
container : Array, predefined Array for holding results
The GenerateTone(n, magnitude, frequency, phase ) command generates n samples for a tone (sinusoidal) signal with the indicated values for the magnitude, frequency and phase. The result is returned in an Array with datatype float.
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.
The SignalProcessing[GenerateTone] command is thread-safe as of Maple 17.
For more information on thread safety, see index/threadsafe.
c ≔ Array⁡1..10,'datatype'='float'8,'order'='C_order':
The SignalProcessing[GenerateTone] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.