MATLAB Answers

How can i multiply cell arrays?

4 views (last 30 days)
Gn Gnk
Gn Gnk on 6 Dec 2019
Commented: Gn Gnk on 7 Dec 2019
Hello ,
i want to multiply an array H which is 2x2 cell array (each cell contains a 1x500 array) with an array X which is 2x1 array (also each cells contains 1x500 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.


Sign in to comment.

Accepted Answer

Matt J
Matt J on 6 Dec 2019
for i=1:2
for j=1:2

  1 Comment

Gn Gnk
Gn Gnk on 7 Dec 2019
That's excactly what i was looking for .Thank you so much!!

Sign in to comment.

More Answers (0)

Sign in to answer this question.