MATLAB: Plotting Points from Cells

cellindexingplot3

I have a 10000×1 cell array. Each cell holds a 1×3 matrix with the x,y, and z coordinates of a point. How can I plot the points? Thank you in advance.

Best Answer

C = num2cell(cell2mat(yourcell),1);
plot3(C{:}) %or scatter3(C{:})