Reading .dat files into Matlab

2 vues (au cours des 30 derniers jours)
Rob
Rob le 17 Oct 2014
Commenté : Sushil Shakya le 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 commentaire
Sushil Shakya
Sushil Shakya le 9 Oct 2018
I am geeting black output after reading .dat file in matlab?

Connectez-vous pour commenter.

Réponse acceptée

Iain
Iain le 17 Oct 2014
Theres a few "rotates".
flipud, fliplr, transpose/permute, imrotate...
  1 commentaire
Rob
Rob le 17 Oct 2014
thanks ,it's helpful

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by