Reading .dat files into Matlab

5 次查看(过去 30 天)
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

采纳的回答

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

更多回答(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