Is it possible to do same without for loop?
lengthboundaries=zeros(length(boundaries),1); for i=1:length(boundaries) lengthboundaries(i)=length(boundaries{i}); end
cell arrayfor loopoptimization code
lengthboundaries=zeros(length(boundaries),1); for i=1:length(boundaries) lengthboundaries(i)=length(boundaries{i}); end
Best Answer