 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

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