why does hdf5read function return only 4 decimal places instead all numbers
1 次查看(过去 30 天)
显示 更早的评论
Hi all,
I run this code to read dataset in my test.hdf5 file. It return me 0.6996 instead of the whole 0.699552191362574. Please guide.
hinfo = hdf5info('test.hdf5');
dset = hdf5read(hinfo.GroupHierarchy.Datasets(1));
0 个评论
采纳的回答
Ashish Uthama
2014-4-28
>> hinfo = hdf5info('test.hdf5');
dset = hdf5read(hinfo.GroupHierarchy.Datasets(1));
dset
dset =
0.6996
>> format long
>> dset
dset =
0.699552191362574
>>
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDF5 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!