| MATLAB® | ![]() |
#include "matrix.h" double mxGetNaN(void);
real*8 mxGetNaN
The value of NaN (Not-a-Number) on your system
Call mxGetNaN to return the value of NaN for your system. NaN is the IEEE arithmetic representation for Not-a-Number. Certain mathematical operations return NaN as a result, for example,
0.0/0.0
Inf-Inf
The value of Not-a-Number is built in to the system. You cannot modify it.
See mxgetinf.c in the mx subdirectory of the examples directory.
![]() | mxGetN (C and Fortran) | mxGetNumberOfDimensions (C and Fortran) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |