Hi everyone,
I have a cell array A 2×100. Each element of A is a 6×1 matrix. If B is a 101×6 matrix. I want to multiply each raw of the last 100 raws of B with every element of A. Thus at the end it should deliver a 2×100 cell array of scalars. I 've tried
for k=1:2;for i=1:100;C=num2cell(cell2mat(A(k,:)).*cell2mat(B{k,2:end}(:,1)));end;end;
Unfortunately it doesn't work. Thanks in advance.
Best Answer