vpa ,,,,why this result?

1 次查看(过去 30 天)
john
john 2014-3-25
编辑: john 2014-3-25
Hello,
for code:
vpa(33357.2537976768,4)
I got:
ans = 33388.0
but why not 33360.0?
Thank you
  2 个评论
Walter Roberson
Walter Roberson 2014-3-25
try
vpa(sym('33357.2537976768'),4)
john
john 2014-3-25
Sorry Mr. Walter,
I got again 33388.0
:-(

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Numbers and Precision 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by