How can I stack multiple Matrices in 1 2D matrix?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a 3D Matrix (96,35,43)
I want to change it to (3360,43) so that each 35x43 matrix is below the previous
How can I do this?
댓글 수: 0
답변 (1개)
the cyclist
2016년 1월 12일
% Your original data:
x = rand(96,35,43);
% Reshaped as you want
xr = reshape(permute(x,[1 3 2]),3360,43);
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!