Contents Previous Next Subchapters

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

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

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