MATLAB Answers

EEG spectral analysis for sleep-wake cycle

45 views (last 30 days)
Hi everyone,
I am new to MATlab and not sure how to use it. I have EEG data sampled at 512Hz and stored in text format. Also, I have the same set of data scored for sleep, NREM, and REM and this is stored in excel format.
I am having trouble loading the EEG data into matlab. I am also unsure of how to do FFT spectral analysis for the separate sleep-wake states.
Thank you very much for your help!
  1 Comment
vijaya kumar
vijaya kumar on 8 Jan 2019
Hi jackie I am working on analysis of sleep disorders.I couldnt able to find sleep eeg data and its corresponding sleep score.As you mentioned you have data sllep score in excel format, so please if possible send me that data to me.It would be a great help for my analysis

Sign in to comment.

Accepted Answer

Dennis A. Dean, II, Ph.D.
Dennis A. Dean, II, Ph.D. on 31 Jul 2013
Hi Jackie, I have some spectral analysis code for loading/analyzing sleep data that we are planning to make available. You can sen me an email to discuss. Best, Dennis

Sign in to comment.

More Answers (1)

Jan on 8 Jul 2013
There are many ways to store data in text and Excel files. We cannot guess, how your files look like, and therefore we cannot suggest a specific solution. The general methods are:
help xlsread
help textscan
help fileread
help importdata
The method to recognize specific patterns of the signals is not a matching topic for this forum, because it has no relation to Matlab. So better ask your professor or instructor and read the corresponding literature.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by