Scilab Reference Manual |
---|
isnan — check for "Not a Number" entries
r=isnan(x)
isnan(x) returns a boolean vector or matrix which contains true entries corresponding with "Not a Number" x entries and false entries corresponding with regular x entries.
isnan([1 0.01 -%nan %inf-%inf])
<< isinf | isreal >> |