how to covert a mx1 matrix into mxm matrix ?

Respuestas (1)

Wayne King
Wayne King el 1 de Mzo. de 2013
Editada: Wayne King el 1 de Mzo. de 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.

Categorías

Etiquetas

Preguntada:

el 1 de Mzo. de 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by