How do I Average across structure
Mostra commenti meno recenti
I have a 14 subject structure (ERP_data.ERP_data); for each subject there is 3D matrix: 32(electrode) x 381(data) x 32(condition); I would like to average the data across subjects with nanmean, so the final matrix will be 32x381x32; thank you for you help!
R
3 Commenti
madhan ravi
il 29 Ago 2018
Would you upload the data file/files and the code you tried?
madhan ravi
il 29 Ago 2018
Where’s the data file?
Rene Sebena
il 29 Ago 2018
Risposta accettata
Più risposte (1)
Image Analyst
il 30 Ago 2018
0 voti
You can use mean() with the 'omitnan' option.
Categorie
Scopri di più su Structures in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!