how to covert a mx1 matrix into mxm matrix ?

조회 수: 8 (최근 30일)
MD.FAISAL
MD.FAISAL 2013년 3월 1일
how to covert a mx1 matrix into mxm matrix ?

답변 (1개)

Wayne King
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.

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by