isfinite
Tests if a value is finite.
Syntax
R = isfinite(A)
Inputs
- A
- The input to be tested for finite values.
Outputs
- R
- Each element of R is a logical value indicating whether the corresponding element of A is finite.
Example
R = isfinite([1, inf, 2/0])
R = [1 0 0]