I have 3x3 cells a
in Matlab, each cell containing a vector of 9x1
a=cell(3,3);
for i=1:3
for j=1:3
a{i,j}=randi(10,[9 1]);
end
end
I would like to multiply each cell of a
by its transpose and then sum across cells but I don't know how to apply these operations to cells.