Next: creal() Up: MacAnova Help File Previous: cprdc()   Contents

cprdcj()

Usage:
cprdcj(cx1 [, cx2]), cx1 and cx2 REAL matrices representing complex data



Keywords: time series, complex arithmetic
cprdcj(cx1, cx2) computes the element wise complex multiplication of
fully complex (pairs of columns constitute real and imaginary parts)
matrices cx1 and cconj(cx2).  When cx1 or cx2 has an odd number of
columns, it is augmented with a column of zeros before multiplication.

cprdcj(cx) is equivalent to cprdcj(cx,cx) and returns as output a matrix
with the squared moduli of the elements of cx, considered as complex
numbers, in the odd columns (real part) of the result, with zero's in
the even columns (imaginary part).

When cx1 or cx2 represents a single complex series (has 1 or 2 columns),
that series is multiplied by all the series in the other arguments.  For
example, when cx1 is m by 2 and cx2 is m by 6, cprdcj(cx1,cx2) is
equivalent to cprdcj(cx1[,vector(1,2,1,2,1,2)],cx2).

See also cprdc(), hprdh(), hprdhj(), cconj().

See topic 'complex' for discussion of complex matrices in MacAnova.


Gary Oehlert 2003-01-15