三维摊平到二维

祥瑞哈哈哈 / 2023-07-28 / 原文

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

 第三维顺序没变