Reading .dat files into Matlab

5 visualizaciones (últimos 30 días)
Rob
Rob el 17 de Oct. de 2014
Comentada: Sushil Shakya el 9 de Oct. de 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 comentario
Sushil Shakya
Sushil Shakya el 9 de Oct. de 2018
I am geeting black output after reading .dat file in matlab?

Iniciar sesión para comentar.

Respuesta aceptada

Iain
Iain el 17 de Oct. de 2014
Theres a few "rotates".
flipud, fliplr, transpose/permute, imrotate...

Más respuestas (0)

Categorías

Más información sobre Images en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by