Answered step by step
Verified Expert Solution
Question
1 Approved Answer
from different sleep stages ( data 1 , . . . , data 5 ) and the sampling rate ( fs ) . You will
from different sleep stages data data and the sampling rate fs You will hand in a
report and all files related to your code functionsfile, 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 for axis and comment on your results. You may use builtin MATLAB
functions for your filters
Use the filters you have obtained in part to filter the signals to separate each signal
to EEG frequency bands. Plot each band in time domain there should be 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 'data
FIR filter frequency and phase response for alpha band
IIR filter frequency and phase response for theta band
Alpha filtered signal for 'data in time domain both IIR and FIR filtered
Beta filtered signal for 'data in frequency domain both IIR and FIR filtered
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started