Skip to Main Content Skip to Search
Product Documentation

mxComplexity (C) - Flag specifying whether array has imaginary components

C Syntax

typedef enum mxComplexity {mxREAL=0, mxCOMPLEX};

Constants

mxREAL

Identifies an mxArray with no imaginary components.

mxCOMPLEX

Identifies an mxArray with imaginary components.

Description

Various MX Matrix Library functions require an mxComplexity argument. You can set an mxComplex argument to either mxREAL or mxCOMPLEX.

Examples

See the following examples in matlabroot/extern/examples/mx.

See Also

mxCreateNumericArray, mxCreateDoubleMatrix, mxCreateSparse

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS