Next: crect() Up: MacAnova Help File Previous: cprdcj()   Contents

creal()

Usage:
creal(cx), cx a REAL matrix representing complex data



Keywords: complex arithmetic, time series
creal(cx) computes the real part of the fully complex matrix cx.  For
example, creal(matrix(run(10),5)) is vector(1,2,3,4,5).

When cx has an odd number, say 2*m-1, of columns, the last column is
interpreted as the real part of a complex series with zero imaginary
part and the result has m columns.

See also hconj(), cconj(), hreal(), himag(), cimag().

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


Gary Oehlert 2003-01-15