Info

この質問は閉じられています。 編集または回答するには再度開いてください。

operation array in cell

2 ビュー (過去 30 日間)
Internazionale
Internazionale 2013 年 3 月 8 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
A=rand(13,13,8,8);
B=rand(13,13,8,8);
Z=mat2cell(Temp, [16 16 16 16 16 16 16 16 16 16 16 16 16] , ... [16 16 16 16 16 16 16 16 16 16 16 16 16]);
for gg=1:13
for hh=1:13
XY{gg,hh}= (Z{gg,hh}.*A{gg,hh,1,1})+B{gg,hh,1,1};
end
end
this program just for A(:,:,1,1) and B (:,:,1,1). my question, how to use the whole value from A and B. A(:,:,1,1) until A(:,:,8,8) and B(:,:,1,1) until B (:,:,8,8). so we get 64 new cell of XY.

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by