how to prevent matlab to rounding numbers during excel read
3 ビュー (過去 30 日間)
古いコメントを表示
I am reading this value 702438.0482 from excel but Matlab reading it as 7.0247e+05. How can I get original value i.e. 702438.482
1 件のコメント
回答 (1 件)
John D'Errico
2017 年 7 月 3 日
MATLAB did NOT round the number. You misunderstand the difference between how MATLAB displays a number, and what is stored.
help format
My preference is usually short g, because I don't want to see long strings of digits. But in order to see the full details
format long g
is usually best.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!