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
                                  Usage
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.

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

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

See subtopic 'matrices:"complex_matrices" for a list of macros for
working with complex matrices.


Gary Oehlert 2005-08-12