how to covert a mx1 matrix into mxm matrix ?
조회 수: 8 (최근 30일)
이전 댓글 표시
답변 (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.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!