mxIsFinite (C and Fortran)
Determine whether input is finite
C Syntax
#include "matrix.h" bool mxIsFinite(double value);
Fortran Syntax
#include "fintrf.h" integer*4 mxIsFinite(value) real*8 value
Arguments
valueDouble-precision, floating-point number to test
Returns
Logical 1 (true) if value is
finite, and logical 0 (false) otherwise.
Description
Call mxIsFinite to determine whether value is
finite. A number is finite if it is greater than -Inf and less than
Inf.
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","mx","filename")]);
where filename is:
Version History
Introduced before R2006a