How do I Average across structure
Ältere Kommentare anzeigen
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 Kommentare
madhan ravi
am 29 Aug. 2018
Would you upload the data file/files and the code you tried?
madhan ravi
am 29 Aug. 2018
Where’s the data file?
Rene Sebena
am 29 Aug. 2018
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 30 Aug. 2018
0 Stimmen
You can use mean() with the 'omitnan' option.
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!