Matrix of Decimals to Binary file.

1 次查看(过去 30 天)
Hi,
I'm having some difficulty storing a large matrix of fixed decimal numbers (e.g. 123.45) into a ".bin" file using fwrite/fread.
Within fwrite I've designated the precision as "double" that makes the binary file 8 times longer and makes it impossible to reassemble into the original matrix upon calling.
Is there a converter function I should use or does this application not work with fwrite/fread?
Thanks.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 String Parsing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by