Contents Previous Next Subchapters

Determines Which Elements Are Infinite
Syntax isinf(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 plus or minus infinity and false otherwise.

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