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

45 ビュー (過去 30 日間)
David Russell
David Russell 2019 年 8 月 29 日
コメント済み: David Russell 2019 年 8 月 29 日
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?

採用された回答

meghannmarie
meghannmarie 2019 年 8 月 29 日
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.
  2 件のコメント
Star Strider
Star Strider 2019 年 8 月 29 日
Use the format function to easily change it in a script or the Command Window.
David Russell
David Russell 2019 年 8 月 29 日
That was it, thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import and Export についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by