Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

2d matrix to 3d matrix conversion with signals

1 visualizzazione (ultimi 30 giorni)
Diana
Diana il 4 Nov 2016
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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!

Risposte (1)

James Tursa
James Tursa il 4 Nov 2016
x = your 900000x250 matrix
xnew = reshape(x',250,150000,6);

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by