how to covert a mx1 matrix into mxm matrix ?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
how to covert a mx1 matrix into mxm matrix ?
0 Commenti
Risposte (1)
Wayne King
il 1 Mar 2013
Modificato: Wayne King
il 1 Mar 2013
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 Commenti
Vedere anche
Categorie
Scopri di più su Matrices and Arrays in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!