MATLAB中的NaN表示什么

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/06 14:07:23
MATLAB中的NaN表示什么
xݒAk0ǿʻe80w0HL D^lH2[na`Бcڕ5iK?dbON%u˖z2zzڴMm|7LGTwƫa;#ߡ"/ |I̪ /Af6I?bOʍNϯV0 b,jU*uHI":b]4TRb7`X9%paHSuuފTdU$xZTjqO8&"{}J r,KƟoȳ9.A8؆7lmYWKAaV5LNrBvogEC[ ƤV6T C<+aӝ>D/j H*p(P {YΣ

MATLAB中的NaN表示什么
MATLAB中的NaN表示什么

MATLAB中的NaN表示什么
Not a Number不是一个数

无法定义的一个数例如 0/0

NaN Not-a-Number.
NaN is the IEEE arithmetic representation for Not-a-Number.
A NaN is obtained as a result of mathematically undefined
operations like 0.0/0.0 and inf-inf....

全部展开

NaN Not-a-Number.
NaN is the IEEE arithmetic representation for Not-a-Number.
A NaN is obtained as a result of mathematically undefined
operations like 0.0/0.0 and inf-inf.

NaN('double') is the same as NaN with no inputs.

NaN('single') is the single precision representation of NaN.

NaN(N) is an N-by-N matrix of NaNs.

NaN(M,N) or NaN([M,N]) is an M-by-N matrix of NaNs.

NaN(M,N,P,...) or NaN([M,N,P,...]) is an M-by-N-by-P-by-... array of NaNs.

NaN(...,CLASSNAME) is an array of NaNs of class specified by CLASSNAME.
CLASSNAME must be either 'single' or 'double'.

收起