How can i reshape a matrix

2 views (last 30 days)
Khaled
Khaled on 7 Aug 2022
Commented: Khaled on 7 Aug 2022
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

Accepted Answer

Walter Roberson
Walter Roberson on 7 Aug 2022
reshape(permute(M1, [1 3 2]),[],size(M1,2))
  1 Comment
Khaled
Khaled on 7 Aug 2022
I am a begginer!
Yes, it works
Thanks alot !

Sign in to comment.

More Answers (0)

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!