How to create an array with repeating values of a vector
60 ビュー (過去 30 日間)
古いコメントを表示
Harald von der Osten
2020 年 4 月 7 日
コメント済み: Harald von der Osten
2020 年 4 月 7 日
how can I create a matrix based on the vector v = [12.56, 65.23, 5.67], which is repeated 20 times? So that the matrix M look like:
M = [12.56 65.23 5.67 ; 12.56 65.23 5.67 ; 12.56 65.23 5.67; .... ; 12.56 65.23 5.67] ?
Thanks a lot.
Harry
0 件のコメント
採用された回答
その他の回答 (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!