フィルターのクリア

How to load 3d.dat file

2 ビュー (過去 30 日間)
Aidan Shek
Aidan Shek 2020 年 1 月 6 日
コメント済み: Aidan Shek 2020 年 1 月 22 日
I have a 3d 64x64x64 data image and I would like to load it onto matlab in a form similar to this for 2d data to be viewed:
size=64 %size of data
fileID = fopen('W11_64.dat','r');
A = fscanf(fileID,'%f');
fclose(fileID);
RefI = zeros(size,size); %line x columns
for m = 1:size
for n = 1:size
RefI(n, m) = A(m+(n-1)*size);
end
end
I have attached the data I wish to be loaded
Thanks for your help
  2 件のコメント
Mahesh Taparia
Mahesh Taparia 2020 年 1 月 9 日
Can you upload your data once?
Aidan Shek
Aidan Shek 2020 年 1 月 22 日
Here we go

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

回答 (1 件)

Selva Karna
Selva Karna 2020 年 1 月 9 日
share your input data?
  1 件のコメント
Aidan Shek
Aidan Shek 2020 年 1 月 22 日
Here we go

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

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by