Reading .dat files into Matlab

5 Ansichten (letzte 30 Tage)
Rob
Rob am 17 Okt. 2014
Kommentiert: Sushil Shakya am 9 Okt. 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 Kommentar
Sushil Shakya
Sushil Shakya am 9 Okt. 2018
I am geeting black output after reading .dat file in matlab?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by