how to covert a mx1 matrix into mxm matrix ?
Ältere Kommentare anzeigen
how to covert a mx1 matrix into mxm matrix ?
Antworten (1)
Wayne King
am 1 Mär. 2013
Bearbeitet: Wayne King
am 1 Mär. 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.
Kategorien
Mehr zu Numeric Types finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!