how to covert a mx1 matrix into mxm matrix ?
1 回表示 (過去 30 日間)
古いコメントを表示
回答 (1 件)
Wayne King
2013 年 3 月 1 日
編集済み: Wayne King
2013 年 3 月 1 日
X = randn(10,1);
X = repmat(X,1,10);
The above repeats the column vector, X, as the remaining m-1 columns of the matrix.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Special Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!