I have tried using sum
for x=1:8
result{x,1} = sum(array1{x,1});
end
But it gives following error:
Cell contents assignment to a non-cell array object.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!