How can I change precision in Matlab?
2 views (last 30 days)
Show older comments
I am comparing some values between Fortran 90 and Matlab. The calculated value of A in Fortran has 20 digits, thus when calculating B it also has 20 digits. The same calculations are made in Matlab but the calculated value of A has 15 digits, thus the calculation of B will be different from the B calculated in Fortran.
How can I make Matlab calculating everything with a precision of 20 digits such as Fortran does?
0 Comments
See Also
Categories
Find more on Fortran with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!