Reading .dat files into Matlab

조회 수: 2 (최근 30일)
Rob
Rob 2014년 10월 17일
댓글: Sushil Shakya 2018년 10월 9일
Dear all,
I tried to read a .dat file into matlab by :
fid = fopen('EMY.dat'); A = fread(fid,[128 128],'float'); fclose(fid); figure(1); imshow(A);
I get rotate image (look attach file), it's possible to make rotation? to get an image with "F" .
maybe somebody knows how to do the trick.Best regards
  댓글 수: 1
Sushil Shakya
Sushil Shakya 2018년 10월 9일
I am geeting black output after reading .dat file in matlab?

댓글을 달려면 로그인하십시오.

채택된 답변

Iain
Iain 2014년 10월 17일
Theres a few "rotates".
flipud, fliplr, transpose/permute, imrotate...
  댓글 수: 1
Rob
Rob 2014년 10월 17일
thanks ,it's helpful

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by