Simple question about for loop
3 ビュー (過去 30 日間)
古いコメントを表示
Hi I have cell data that consist of different row size like below picture. Let's assume this name of this cell is A.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/994165/image.png)
And I want to make simple for loop
B= zeros(length(A), ???);
for i = 1: length(A)
b= function{i};
B(i,:)=b;
end
Each row has different size.
I wonder what should i write in ???.
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!