三维摊平到二维

A = 1:12;
B = reshape(A,[2,2,3])
repu=reshape(B,4,3)

 第三维顺序没变

 

posted @ 2023-07-28 13:49  祥瑞哈哈哈  阅读(18)  评论(0)    收藏  举报