moving average in eeglab
Mostrar comentarios más antiguos
Greetings, I have 19 22x2000 matrixs and i want make a 22x2000 matrix by moving-average from 19 22x2000 matrixs.A matrix is used for plot erpimage.Is there any simple command or way to do that. Your help is highly appreciated.
Thanks and regards Chuong Tran
2 comentarios
Azzi Abdelmalek
el 4 de Dic. de 2014
How these matrices are stored?
Chuong
el 4 de Dic. de 2014
Respuestas (1)
Azzi Abdelmalek
el 4 de Dic. de 2014
Look at this example
m1=rand(22,2000);
m2=rand(22,2000);
m3=rand(22,2000);
a={m1,m2,m3}
b=cat(3,a{:});
out=mean(b,3)
1 comentario
Chuong
el 4 de Dic. de 2014
Categorías
Más información sobre EEG/MEG/ECoG 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!