looking for an existing code in matlab that analyze EEG signals by FFT

Hi,
can you please help me ?
I'm looking for FFT analysis to EEG signals in matlab.
I'll explain myself :
I receive a signal in the time domain , let's assume x(t), it is known signal with known sleep stage. (the PC provides this signals randomly ).
I'm looking for an existing code in matlab that FFT analyze this x(t) ,computes its frequencies and amplitudes and plot the relevant sleep stage accordingly
can you suggest for this code ? or guide me, how can i write this code correctly ?
I should clarify my self about the know EEG signals from the PC, those signals produced by function that written in matlab. let us assume that this function called SIG_GEN.
This function provides signals that supposed to represent EEG signals (with the same amplitude and frequency values).
My code should receive this input data (from the mentioned function) and analyze it with the FFT.
After the analyzing and computing processes , my code supposed to plot the sleep stage.
Of course, that the sleep stages that my code plots, should be accurate as possible to the original signals from the PC (from the main function that provides those signals).
do you have existing code for this scenario ?
hope that i explained myself clear enough
Thanks a lot,

 Risposta accettata

You might be interested in the following: It is kind of a toolbox for EEG in matlab and has good tutorials..

3 Commenti

Hi Thomas,
Thank you for your reply, i don't find any tutorials that relevant to my question.
can you please link me the tutorial that explains me how to computes the frequency and amplitude of a signal after the FFT operation and then compare this date and values with the original signal that the PC provided me ?
Thank you for all.
this might help
http://www.mathworks.com/matlabcentral/answers/9803-how-to-extract-the-frequency-and-amplitude-from-a-fft-and-save-the-values-in-separated-tables

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by