How do i extract data from 3D matrix?
조회 수: 8 (최근 30일)
이전 댓글 표시
I have a matrix of size 256*256*256, i want to create a 2D matrix whose each row has information from the z direction of the original matrix, how do i do it?
댓글 수: 2
James Tursa
2021년 11월 22일
편집: James Tursa
2021년 11월 22일
Please give us a small example of what you want. E.g., start with a 2x2x2 array and then show us the resulting 2x2 matrix you want as an output. Maybe all you need is sum(matrix,3) or mean(matrix,3), but we can't tell from what you have written so far.
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!