isinf

isinf(X) returns true for each element of X that is infinite and false otherwise.

Examples

> isinf(0)

	[ans:false]
> isinf(1/0)

	[ans:true]

Resources

See also

isa | isfinite | isnan