I need to create a cell array initializing each element in it to 3*1 null matrix.
1 回表示 (過去 30 日間)
古いコメントを表示
hrushikesh kyathari
2019 年 7 月 13 日
コメント済み: hrushikesh kyathari
2019 年 7 月 14 日
I need to create a cell array initializing each element in it to 3*1 null matrix. How to proceed?
F=cell(a,2*n); is my cell and a,n are integers.
0 件のコメント
採用された回答
その他の回答 (1 件)
Image Analyst
2019 年 7 月 13 日
編集済み: Image Analyst
2019 年 7 月 13 日
I don't know about null. How about nan?
for k = 1 : numel(F)
F(k) = {nan(3, 1)};
end
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!