MATLAB: How we can control the length of each elemnts in a cell array

cell arrayelemntlength

Dea All, I'm wondering how we can control of the length(size) of each elemnt in a cell array(Since each elemnt is a matrix itself) .
Thanks

Best Answer

C - your cell array
out = cellfun(@size,C,'un',0)