floating point question
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 25 Mär. 2011
The digits are there; they just aren't displayed.
format long
to view them
2 Kommentare
Matt Fig
am 25 Mär. 2011
For example: copy and paste this into your command window:
clc
format short
pi
format long
pi
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!