필터 지우기
필터 지우기

Matrix of Decimals to Binary file.

조회 수: 1 (최근 30일)
Alejandro Lavernia
Alejandro Lavernia 2019년 1월 18일
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