Hi, I have three matrices A=[60×111], B=[60,11],C=[60,101];
here, N=60, a=111,b=11,c=101
for i=i:N[Nd{:,i}] = ndgrid(1:a, 1:b, 1:c);end
I want to use Nd{:,i} for each row of A,B,C. My output will be a 4 dim matrix (111x11x101x60) obtaind from final multiplication of
A(Nd{:i}).*B(Nd{:i}).*C(Nd{:i}). I dont know how to do that.
Thanks in advance.
Best Answer