推 sunev: permute 03/26 03:15
permute試不太出來
試過發現可以這樣
temp = reshape(data,480,43700);
x=temp';
※ 編輯: hnuuy (140.115.155.201), 03/26/2015 11:51:54
→ DKer: 兩行可以縮成一行吧 temp=reshape(data,480,43700)'; 03/26 14:01
推 sunev: permute 是transpose的推廣,在你的情況下可以寫成 03/26 20:04
→ sunev: temp=reshape(permute(data,[3 1 2]),43700,[]); 03/26 20:06
→ sunev: 或是temp=premute(reshape(data,480,[]),[2 1]); 03/26 20:06