How do I Average across structure
Afficher commentaires plus anciens
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 commentaires
madhan ravi
le 29 Août 2018
Would you upload the data file/files and the code you tried?
madhan ravi
le 29 Août 2018
Where’s the data file?
Rene Sebena
le 29 Août 2018
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 30 Août 2018
0 votes
You can use mean() with the 'omitnan' option.
Catégories
En savoir plus sur Structures dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!