inf
Returns infinite value(s).
Syntax
R = inf(m, n)
Inputs
- m
- The number of rows desired in the output. If not specified, it is assumed to be 1.
- n
- The number of columns desired in the output. If not specified, it is assumed to be 1.
Outputs
- R
- Matrix of infinite values of the requested size.
Examples
Default:
R = inf
R = inf
Matrix:
R = inf(2,3)
R = [ inf inf inf ; inf inf inf]