필터 지우기
필터 지우기

How Can We Split 4D Matrix into two 2D Matrices?

조회 수: 1 (최근 30일)
Ali Raza
Ali Raza 2019년 8월 29일
편집: Bruno Luong 2019년 8월 29일
I have a 4D matrix R=[90x360x90x360], how can I split it into two matrices A=[90x360] and B=[90x360]. Thanks in advance.
  댓글 수: 5
Guillaume
Guillaume 2019년 8월 29일
편집: Guillaume 2019년 8월 29일
Or in other words, you've got 32400 matrices of size 90x360 in a 90x360x90x360 matrix, not just 2.
Bruno Luong
Bruno Luong 2019년 8월 29일
편집: Bruno Luong 2019년 8월 29일
In R you have 90 x 360 = 32400 of (90 x 360) matrices. here is one:
R(:,:,12,34)
here is another
R(:,:,56,321)
or
R(:,:,1,1)
R(:,:,90,360)
etc... There are 32400 of them. And you ask to get 2? The count doesn't add up.
We reallly can't help you if you don't know what your data contain, what and how you would use it.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by