MATLAB Answers

Reading .dat files into Matlab

조회 수: 12(최근 30일)
Rob
Rob 17 Oct 2014
댓글: Sushil Shakya 9 Oct 2018
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 9 Oct 2018
I am geeting black output after reading .dat file in matlab?

Sign in to comment.

채택된 답변

Iain
Iain 17 Oct 2014
Theres a few "rotates".
flipud, fliplr, transpose/permute, imrotate...

  댓글 수: 1

Rob
Rob 17 Oct 2014
thanks ,it's helpful

Sign in to comment.

추가 답변(0개)


Translated by