Info

此问题已关闭。 请重新打开它进行编辑或回答。

operation array in cell

1 次查看(过去 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