importdata only gives me 4 digits of accuracy how do I change

35 views (last 30 days)
importdata only gives me 4 digits of accuracy how do I change the format to get 5 digits to the right of the decimal point?

Accepted Answer

meghannmarie
meghannmarie on 29 Aug 2019
I think you still have your accuracy, it is just displaying 4 digits. You can test then by writing a text file with one of your numbers.
On the Home tab, in the Environment section, click Preferences. Select MATLAB > Command Window,and change Numeric format from "short" to "long". Then you should see all your decimal digits, not just an abbreviated form.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!