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!