How do I Average across structure
Mostrar comentarios más antiguos
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 comentarios
madhan ravi
el 29 de Ag. de 2018
Would you upload the data file/files and the code you tried?
madhan ravi
el 29 de Ag. de 2018
Where’s the data file?
Rene Sebena
el 29 de Ag. de 2018
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 30 de Ag. de 2018
0 votos
You can use mean() with the 'omitnan' option.
Categorías
Más información sobre Structures en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!