Reading .dat files into Matlab

1 回表示 (過去 30 日間)
Rob
Rob 2014 年 10 月 17 日
コメント済み: Sushil Shakya 2018 年 10 月 9 日
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 件のコメント
Sushil Shakya
Sushil Shakya 2018 年 10 月 9 日
I am geeting black output after reading .dat file in matlab?

サインインしてコメントする。

採用された回答

Iain
Iain 2014 年 10 月 17 日
Theres a few "rotates".
flipud, fliplr, transpose/permute, imrotate...
  1 件のコメント
Rob
Rob 2014 年 10 月 17 日
thanks ,it's helpful

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by