필터 지우기
필터 지우기

How to convert the following 4D matrix to 2D matrix?

조회 수: 4 (최근 30일)
mohammed mahmoud
mohammed mahmoud 2017년 10월 8일
댓글: Walter Roberson 2018년 6월 18일
I want to convert matrix (1,100,100,16384) to 2d matrix

채택된 답변

Walter Roberson
Walter Roberson 2017년 10월 8일
reshape(YourMatrix, 100*100, [])
if you want 100*100 rows and 16384 columns as your output
  댓글 수: 2
Srikanth V
Srikanth V 2018년 6월 18일
But the element order is not maintained
Walter Roberson
Walter Roberson 2018년 6월 18일
What size of matrix are you starting with, and what size do you want to end up with, and what order do you want the elements to end up in?

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by