Numberof digits after decimal??

조회 수: 2 (최근 30일)
ck
ck 2016년 5월 3일
답변: the cyclist 2016년 5월 3일
When I open using float32 , I get around 4 values after the decimal . But I want around 10 or 15 digits after decimal?? how is it done? in following code below! g= fread(fid,'*float32', skip)

답변 (1개)

the cyclist
the cyclist 2016년 5월 3일
The way a number is stored in memory is different from how it is displayed in the command window.
You can use the format command to change how the number is displayed.

카테고리

Help CenterFile Exchange에서 Numeric Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by