Azzera filtri
Azzera filtri

Matrix of Decimals to Binary file.

1 visualizzazione (ultimi 30 giorni)
Alejandro Lavernia
Alejandro Lavernia il 18 Gen 2019
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.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by