| External Interfaces Reference | ![]() |
Determine if mxArray is complex
Fortran Syntax
Arguments
Returns
1 if complex, and 0 otherwise.
Description
Use mxIsComplex to determine whether or not an imaginary part is allocated for an mxArray. The imaginary pointer pi is 0 if an mxArray is purely real and does not have any imaginary data. If an mxArray is complex, pi points to an array of numbers.
See Also
| mxIsClass | mxIsDouble | ![]() |
© 1994-2005 The MathWorks, Inc.