floating point question
1 回表示 (過去 30 日間)
古いコメントを表示
Hello. I imported a .csv file to into matlab which has 10 million rows and 2 columns. I truncated the number of rows to 100 thousand. The first column has doubles but matlab only displays 4 digits after the decimal point. Is there a way to get more digits like 8 or 9?
0 件のコメント
採用された回答
Sean de Wolski
2011 年 3 月 25 日
The digits are there; they just aren't displayed.
format long
to view them
2 件のコメント
Matt Fig
2011 年 3 月 25 日
For example: copy and paste this into your command window:
clc
format short
pi
format long
pi
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!