multiply correspond element in cell arrays
Show older comments
Hi everybody
I have 2 cell arrays a and b, how could I multiplying together their correspond elements.
a =
Columns 1 through 4
[41x1 double] [319x1 double] [54x1 double] [355x1 double]
Column 5
[400x1 double]
b =
Columns 1 through 4
[41x1 double] [319x1 double] [54x1 double] [355x1 double]
Column 5
[400x1 double]
Thanks in advance
Accepted Answer
More Answers (1)
Walter Roberson
on 21 Jan 2016
Edited: Walter Roberson
on 21 Jan 2016
cellfun(@times, a, b, 'Uniform', 0)
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!