Create array of all `Inf`

values

`X = Inf`

returns the scalar representation of positive
infinity. Operations return `Inf`

when their result is too
large to represent as a floating point number, such as `1/0`

or
`log(0)`

.

For double-precision, `Inf`

represents numbers larger than
`realmax`

. For single-precision, `Inf`

represents numbers larger than `realmax('single')`

.

`X = Inf(`

returns an
`sz1,...,szN`

)`sz1`

-by-...-by-`szN`

array of
`Inf`

values, where `sz1,...,szN`

indicate
the size of each dimension. For example, `Inf(3,4)`

returns a
3-by-4 matrix.

`X = Inf(___,`

returns an array of `typename`

)`Inf`

values of data type
`typename`

, which can be either `'single'`

or `'double'`

.