How to create an Array of vectors ??
114 ビュー (過去 30 日間)
古いコメントを表示
I want to create an array of vectors.
ex: A = 0 0 0 0 0 0 0....
0 0 0 0 0 0 0....
0 0 0 0 0 0 0....
array of size 3 but each vector is of unknown size !!
matrix of ( 3 , increasable size)
1 件のコメント
回答 (1 件)
madhan ravi
2019 年 4 月 18 日
Use a cell array as Stephen suggests:
v1=1:3; v2=2:9; v3=2; A={v1;v2;v3}
0 件のコメント
参考
カテゴリ
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!