How many exact decimals can offer Matlab?
Show older comments
Hi, everybody. I would like to know how many exact decimals can offer Matlab. I did a program to calculate Viete sums and run it and I can see only 4 exact decimals in the answers. Thats all matlab can offer or there is a setting where I can change precision? Thank you, Daniela
Accepted Answer
More Answers (1)
Jonathan Sullivan
on 2 Apr 2012
Change the display format.
Try:
format long
X % Your variable
Categories
Find more on Dates and Time 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!