MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB基础] 为什么结果不是0 (https://www.labfans.com/bbs/showthread.php?t=12011)

msuo1984 2010-08-27 06:25

为什么结果不是0
 
h=1/2;

a=2/3-h;

c=3*a-h

用matlab计算c,结果居然不为0,为什么????

anbcjys 2010-08-27 10:34

回复: 为什么结果不是0
 
计算精度有误差 .


所有时间均为北京时间。现在的时间是 15:11

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.