How can i reshape a matrix

조회 수: 2 (최근 30일)
Khaled
Khaled 2022년 8월 7일
댓글: Khaled 2022년 8월 7일
I have a 24x6x47 matrix such that 24x6 matrix repeated 47 times
I want to reshape it to matrix 24x47 as Rows and 6 columns

채택된 답변

Walter Roberson
Walter Roberson 2022년 8월 7일
reshape(permute(M1, [1 3 2]),[],size(M1,2))
  댓글 수: 1
Khaled
Khaled 2022년 8월 7일
I am a begginer!
Yes, it works
Thanks alot !

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

추가 답변 (0개)

카테고리

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

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by