how to covert a mx1 matrix into mxm matrix ?

답변 (1개)

Wayne King
Wayne King 2013년 3월 1일
편집: Wayne King 2013년 3월 1일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Numeric Types에 대해 자세히 알아보기

질문:

2013년 3월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by