Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Explain the pages in white the expert taxes

Answered: 1 week ago