Contents Previous Next Subchapters

Determines Which Elements Are Finite
Syntax isfinite(x)
See Also isinf , isnan , autoexec

Description
Returns logical matrix with the same dimension as x containing the element-by-element result true, if the corresponding element of x is finite and false otherwise.

Example
If you enter
     x = [ 0 , INF, -INF, NAN, -NAN ]
     isfinite(x)
O-Matrix will respond
     [ T , F , F , F , F ]