how to covert a mx1 matrix into mxm matrix ?
이전 댓글 표시
답변 (1개)
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.
카테고리
도움말 센터 및 File Exchange에서 Numeric Types에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!