Reshape data to insert into eeglab

I have data 40x12x4096 i need to reshape this data into 12x4096x40 . But I have 10 .mat files of 40x12x4096 and change data into 12x4096x40 of all mat files and insert into eeglab . Can anyone help?

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 6 月 3 日

0 投票

For any one 40 x 12 x 4096 array,
permute(TheArray, [2 3 1])

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

タグ

質問済み:

2020 年 6 月 3 日

回答済み:

2020 年 6 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by