Reading .dat files into Matlab

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 Commento

I am geeting black output after reading .dat file in matlab?

Accedi per commentare.

 Risposta accettata

Iain
Iain il 17 Ott 2014

0 voti

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

Più risposte (0)

Richiesto:

Rob
il 17 Ott 2014

Commentato:

il 9 Ott 2018

Community Treasure Hunt

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

Start Hunting!

Translated by