The result of the operation in the calculator and the result of the operation in matlab are different
1 view (last 30 days)
While doing the following operation in Matlab, the result is 2145.83, but when I do it from the calculator, it is 214.583. How can I fix this?
With Matlab codes;
fprintf(' %2.2f \n', V);
More Answers (1)
the cyclist on 27 Aug 2021
I don't know what you did on your calculator, but it was wrong. The MATLAB result is correct, and I also double-checked this on a calculator. (You should also easily be able to verify this by hand, or in Excel, or ...)