How can i reshape a matrix

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

reshape(permute(M1, [1 3 2]),[],size(M1,2))

1 Comment

I am a begginer!
Yes, it works
Thanks alot !

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2019a

Asked:

on 7 Aug 2022

Commented:

on 7 Aug 2022

Community Treasure Hunt

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

Start Hunting!