Performing RMS on a EEG singal
8 views (last 30 days)
Show older comments
Dear all,
I have a EEG recording for 24 hrs using frontal EEG on a mouse. I would like to do root mean sqaure of the entire signal. EEG was recorded at 512 hz and will be band pass filtered between 9 and 15 Hz for the purposes of analysis. Would anyone please be able to provide a MATLAB script to run the script on a EEG (EDF) file please?? I would greatly appreciate it. Thanks for your consideration.
RM
0 Comments
Answers (1)
Daniel M
on 21 Nov 2019
You will have to download a tool that can read EDF files. You can search the File Exchange for this, or use the Fieldtrip or EEGLAB toolboxes.
The command to calculate rms of a signal, x, is just rms(x).
2 Comments
Daniel M
on 21 Nov 2019
Edited: Daniel M
on 21 Nov 2019
I don't know how new you are to MATLAB. Load your file. Access your data. Preprocess your data according to your needs (you mentioned a bandpass filter). Use the rms function.
There are probably a zillion EEG pipelines out there if you just looked.
See Also
Categories
Find more on EEG/MEG/ECoG in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!