Split large matrix in smaller matrices?
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi, I have a matrix A = 169 x 606 and I want to convert each row into a 13 x 13 matrix? I know this is probably a simple operation, but I can't seem to get it to work. If anyone has any ideas it would be very much appreciated!
Thanks.
댓글 수: 0
채택된 답변
Andrei Bobrov
2012년 6월 15일
eg ( A - your matrix with size (169 x 4),)
for each column:
A = randi(3000,169,4);
out = reshape(A,13,13,[])
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!