I have a vector x = [1 2 3] and a 3 by 3 cell array C that consists of N by N matrices. E.g. C{1,1} is an N by N matrix.
I want to multiply x and C and get a cell array D of size 1 by 3:
D{1,1} = x(1)C{1,1) + x(2)C{2,1} + x(3)C{3,1}
D{1,2} = x(1)C{1,2) + x(2)C{2,2} + x(3)C{3,2}
D{1,3} = x(1)C{1,3) + x(2)C{2,3} + x(3)C{3,3}