MATLAB: Reading .dat files into Matlab

image analysisimage processingMATLAB

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

Best Answer

Theres a few "rotates".
flipud, fliplr, transpose/permute, imrotate...