Getting a sum of the cell??? - MATLAB

Ghar

Joined Mar 8, 2010
655
I don't have Matlab here but try y{:} instead of just y.
The problem with cell arrays is that y(x) returns the cell (so the array [5] for example) while y{x} returns the cell contents (just 5).
 
Top