how to covert a mx1 matrix into mxm matrix ?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how to covert a mx1 matrix into mxm matrix ?
0 commentaires
Réponses (1)
Wayne King
le 1 Mar 2013
Modifié(e) : Wayne King
le 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 commentaires
Voir également
Catégories
En savoir plus sur Data Types dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!