Effacer les filtres
Effacer les filtres

Matrix of Decimals to Binary file.

1 vue (au cours des 30 derniers jours)
Alejandro Lavernia
Alejandro Lavernia le 18 Jan 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.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by