How can i reshape a matrix

2 次查看(过去 30 天)
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))

更多回答(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