| MATLAB Application Program Interface | Search  Help Desk |
| mxComplexity | See Also |
Flag that specifies whether an mxArray has imaginary components
typedef enum mxComplexity {mxREAL=0, mxCOMPLEX};
mxREAL
mxArray with no imaginary components.
mxCOMPLEX
mxArray with imaginary components.
Various mx calls require an mxComplexity argument. You can set an mxComplex argument to either mxREAL or mxCOMPLEX.
mxCreateNumericArray, mxCreateDoubleMatrix, mxCreateSparse