# isinf

Tests if a value is infinite.

R = isinf(A)

## Inputs

A
The input to be tested for infinite values.
Type: double | integer | char | string | logical | struct | cell
Dimension: scalar | string | vector | matrix

## Outputs

R
Each element of R is a logical value indicating whether the corresponding element of A is infinite.

## Example

R = isinf([1, inf, 2/0])
R = [0 1 1]