谢谢!我刚才又查了一下:
matlab 中对eps的解释是: Spacing of floating point numbers.
eps默认的是eps(1)即双精度的精度,因此为2e-52
而对realmax的解释是:REALMIN Smallest positive floating point number.
x = realmin is the smallest positive normalized double precision floating
point number on this computer.
因此,realmax是2^(2^-10)=2^(-1024)=1.8E-308的量级。
一个是精度,一个是范围,两个不一样的概念。
再次感谢!