How can i reshape a matrix

2 Ansichten (letzte 30 Tage)
Khaled
Khaled am 7 Aug. 2022
Kommentiert: Khaled am 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

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by