Question: from different sleep stages ( data 1 , . . . , data 5 ) and the sampling rate ( fs ) . You will

from different sleep stages (data1,..., data5) and the sampling rate (fs). You will hand in a
report and all files related to your code (functions,m-file, data etc.).
Solve the following problems and add the results to your report. The report should include
every plot requested in the problems. Make sure to add titles to your plots.
Use Fourier transform to obtain the frequency spectrum for each signal given in the
data file. Comment on the active frequency bands and discuss possible sleep stages for
each signal. You may use this article for information about sleep stages.
Design an FIR and an IIR filter for each EEG frequency band (alpha, beta etc.). Explain
your reasoning for choosing a specific type of filter (Butterworth, Chebyshev etc. for
IIR; type I, type II etc. for FIR). Plot the frequency and phase response of your filters
(use Hz for x-axis) and comment on your results. (You may use built-in MATLAB
functions for your filters)
Use the filters you have obtained in 2nd part to filter the signals to separate each signal
to EEG frequency bands. Plot each band in time domain (there should be 2 plots for
each band, IIR filtered and FIR filtered). Show the frequency spectrum of the filtered
signals. Is there a difference between FIR or IIR filtered signals?
Your MATLAB code should give the following outputs when run (separate from the results
requested for the report);
Frequency response for 'data5'
FIR filter frequency and phase response for alpha band
IIR filter frequency and phase response for theta band
Alpha filtered signal for 'data2' in time domain (both IIR and FIR filtered)
Beta filtered signal for 'data3' in frequency domain (both IIR and FIR filtered)
 from different sleep stages (data1,..., data5) and the sampling rate (fs).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!