 SignalProcessing - Maple Programming Help

Home : Support : Online Help : Science and Engineering : Signal Processing : Conversions : SignalProcessing/Conjugate

SignalProcessing

 Conjugate
 compute the element-wise complex conjugate of an array of samples
 ConjugateFlip
 compute the element-wise complex conjugate of an array of samples, in reverse order

 Calling Sequence Conjugate(A) ConjugateFlip(A)

Parameters

 A - Array of complex numeric values; the signal

Options

 • container : Array, predefined Array for holding results
 • inplace : truefalse, specifies that output should overwrite input

Description

 • The Conjugate(A) command computes the element-wise complex conjugate of the elements of the Array A and returns them in another Array.
 • The ConjugateFlip(A) command computes the element-wise complex conjugate of the elements of the Array A and returns them in another Array in reverse order.
 • Before the code performing the computation runs, A is converted to datatype complex if it does not have that datatype already. For this reason, it is most efficient if A has this datatype beforehand.
 • 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 having datatype complex and size equal to that of A.
 • If the inplace or inplace=true option is provided, then A is overwritten with the results. In this case, the container option is ignored. Furthermore, A must have datatype complex. The inplace option works with the Conjugate(A) command only.

 • The SignalProcessing[Conjugate] and SignalProcessing[ConjugateFlip] commands are thread-safe as of Maple 17.

Examples

 > $\mathrm{with}\left(\mathrm{SignalProcessing}\right):$
 > $a≔\mathrm{Array}\left(\left[1+I,2-3I\right],'\mathrm{datatype}'='\mathrm{complex}'\left[8\right]\right)$
 ${a}{≔}\left[\begin{array}{cc}{1.}{+}{I}& {2.}{-}{3.}{}{I}\end{array}\right]$ (1)
 > $c≔\mathrm{Array}\left(1..2,'\mathrm{datatype}'='\mathrm{complex}'\left[8\right]\right):$
 > $\mathrm{ConjugateFlip}\left(a,'\mathrm{container}'=c\right)$
 $\left[\begin{array}{cc}{2.}{+}{3.}{}{I}& {1.}{-}{I}\end{array}\right]$ (2)
 > $\mathrm{Conjugate}\left(a,'\mathrm{inplace}'\right)$
 $\left[\begin{array}{cc}{1.}{-}{I}& {2.}{+}{3.}{}{I}\end{array}\right]$ (3)
 > $a$
 $\left[\begin{array}{cc}{1.}{-}{I}& {2.}{+}{3.}{}{I}\end{array}\right]$ (4)

Compatibility

 • The SignalProcessing[Conjugate] and SignalProcessing[ConjugateFlip] commands were introduced in Maple 17.