| MATLAB Application Program Interface | Search  Help Desk |
| mxComplexity | Examples See Also |
Flag that specifies whether an mxArray has imaginary components
C Definition
typedef enum mxComplexity {mxREAL=0, mxCOMPLEX};
Constants
mxREALmxArray with no imaginary components.
mxCOMPLEX
mxArray with imaginary components.
Description
Various mx calls require anmxComplexity argument. You can set an mxComplex argument to either mxREAL or mxCOMPLEX.
Example
Seemxcalcsinglesubscript.c in the mx subdirectory of the examples directory.
See Also
mxCreateNumericArray, mxCreateDoubleMatrix, mxCreateSparse