Generate a set of 1000 elements where each element is a set of 40 elements
2 ビュー (過去 30 日間)
古いコメントを表示
I want to Generate a Set of 1000 elements where each element is also a set of 40 elements. Apart from employing matrices, is there any other way.
0 件のコメント
採用された回答
Azzi Abdelmalek
2016 年 8 月 17 日
編集済み: Azzi Abdelmalek
2016 年 8 月 17 日
A=cell(1,1000)
B=cellfun(@(x) randi(10,1,40),A,'un',0) % Example
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Matrices and Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!