Dear all,
I have the file as attached, the format is .bim (as attached)
Actually this is 2D planar image.
Anyone can help me to open it in Matlab?
The image supposed to be as below:

 채택된 답변

Aditya Singh
Aditya Singh 2023년 7월 4일

0 개 추천

Hi,
To my understanding, you want to open a .bim format file in MATLAB.
It explains that doing
fid = fopen('result1.bim', 'r', 'ieee-le');
data = fread(fid, inf, '*float');
fclose(fid);
data = reshape(data,128,128);
imagesc(data)
would achive the same. Please refer to the comment for more detail explanantion.
Hope it helps!

추가 답변 (0개)

제품

릴리스

R2023a

질문:

2023년 6월 30일

답변:

2023년 7월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by