up-sample a signal
UpSample( A, factor, phase )
Array of real or complex numeric values; the signal
posint, up-sample factor
nonnegint, (optional) phase
container : Array, predefined Array for holding results
The UpSample( A, factor, phase ) command up-samples the signal in the Array A.
The effect of this command is to place factor - 1 zeroes between each pair of samples in the Array A.
Before the code performing the computation runs, Maple converts A to a hardware datatype, first attempting float and subsequently complex, unless it already has one of these datatypes. For this reason, it is most efficient if A has one of these datatypes beforehand.
The phase argument determines an offset, so that the sample value from A occurs phase positions offset in the output array. The value of phase must be non-negative and less than the value of factor.
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 * factor, where N is the number of elements of A, and it must have datatype float if A is real and complex if A is complex.
The SignalProcessing[UpSample] command is thread-safe as of Maple 17.
For more information on thread safety, see index/threadsafe.
A ≔ Array⁡1,2,3,4,5,6,'datatype'='float'8
A ≔ 126.96.36.199.5.6.
1 .. 12 ArrayData Type: floatStorage: rectangularOrder: Fortran_order
1 .. 18 ArrayData Type: floatStorage: rectangularOrder: Fortran_order
C ≔ Array⁡1..18,'datatype'='float'8:
A ≔ Array⁡I,−I,1+I,I−1,datatype=complex
A ≔ 0.+1.⁢I0.−1.⁢I1.+1.⁢I−1.+1.⁢I
C ≔ Array⁡1..8,'datatype'='complex'8:
The SignalProcessing[UpSample] 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.