フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

2d matrix to 3d matrix conversion with signals

1 回表示 (過去 30 日間)
Diana
Diana 2016 年 11 月 4 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello!
I have a matrix with 250 columns and aprox 900,000 rows. where 250 are the channels, 900,000 is the time. I want to divide the rows into different trials of 150,000. Where the first dimension corresponds to the channels (250), the second dimension corresponds corresponds to time (150,000) and the third dimension corresponds to trials (6).
Thanks!

回答 (1 件)

James Tursa
James Tursa 2016 年 11 月 4 日
x = your 900000x250 matrix
xnew = reshape(x',250,150000,6);

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by