inf
Create array of allinf
值
Syntax
Description
X = Inf
returns the scalar representation of positive infinity. Operations returninf
when their result is too large to represent as a floating point number, such as1/0
或者log(0)
。
For double-precision,inf
代表大于Realmax
。对于单精制,inf
代表大于REALMAX('单')
。
x = inf(
返回SZ1,...,SZN
)sz1
-经过-。。。-经过-szN
大批ofinf
值, whereSZ1,...,SZN
indicate the size of each dimension. For example,INF(3,4)
returns a 3-by-4 matrix.