MATLAB: How can i multiply cell arrays

.*cellcell arrayserrormultiplication

Hello ,
i want to multiply an array H which is 2×2 cell array (each cell contains a 1×500 array) with an array X which is 2×1 array (also each cells contains 1×500 array) .When i try to multiply these arrays like this H.*X i get the following error: Undefinedoperator '.*' for input arguments of type 'cell'. How can i multiply these cell arrays?
Thank you.

Best Answer

for i=1:2
for j=1:2
H{i,j}=H{i,j}.*X{i};
end
end