vpa ,,,,why this result?

1 view (last 30 days)
john
john on 25 Mar 2014
Edited: john on 25 Mar 2014
Hello,
for code:
vpa(33357.2537976768,4)
I got:
ans = 33388.0
but why not 33360.0?
Thank you
  2 Comments
Walter Roberson
Walter Roberson on 25 Mar 2014
try
vpa(sym('33357.2537976768'),4)
john
john on 25 Mar 2014
Sorry Mr. Walter,
I got again 33388.0
:-(

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!