How can I change the order of an N-dimensional array?

2 次查看(过去 30 天)
I have an array of size (300*1*6*1000).
But I want to change the order of this array as below.
(300*1*6*1000) >> (6*300*1*1000)
How can I change it, sir?

采纳的回答

Jan
Jan 2021-11-15
X = permute(X, [3,1,2,4]);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Types 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by