photo

远东 谢


Last seen: 1 year ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


I got a strange answer when I use Matlab to calculate the quotient of two decimal places
I tried to calculate 2.47/0.01,and I got the answer 247.0000. Then I used "ceil" to the answer, and to my surprise, I got the an...

1 year ago | 1 answer | 0

1

answer

Question


利用Matlab计算小数除法时,计算结果出现问题
计算2.47/0.01时,输出247.0000,此时对结果使用ceil函数,得到的结果是278。但是计算2.471/0.001和24.7/0.1时均直接得到整数结果。

1 year ago | 1 answer | 0

1

answer