Numberof digits after decimal??

5 次查看(过去 30 天)
ck
ck 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 中查找有关 Multirate Signal Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by