matlab - Collapsing a 3d matrix across one of the dimensions to make a 2d matrix -


i have 3d matrix of eeg data containing (time x electrode x trial). collapse data across trials obtain average trial values each electrode , time point.

can please walk through how in matlab?

mean it.

meandata = mean(data, 3) 

in general, matlab documentation quite good. googling want done , adding "matlab" query produce pretty results. if know function looking for, can type help <function name> in matlab interpreter , show docs.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -