% カラのcell配列を作成
posX = cell(3,1);
% 要素数の異なる配列を順に入れる
posX{1} = [10,20,30,40,50];
posX{2} = [3,90,2];
posX{3} = [40,30,30,20,2,30,44,2,20,6,70];
% 確認
disp(posX)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!