Clear Filters
Clear Filters

How to compute k-complex wave from EEG signal using kaiser filter?

3 views (last 30 days)
Hello. I want to know how to extract k-complex and spindle waves from EEG fignal using kaiser filter. For example I know that the bandwidth of spindle wave is 12-14 Hz. The bandwidth of k-complex is 0.5-2 Hz. I wrote the code bellow for spindlle wave. Is it right?
(I want to adopt the general performance objectives for the Kaiser window, i.e. the minimum attenuation of stopband is set as 50 dB, and the allowed passband ripple and stopband error are set as 0.01) Thanks.
BpFilt = designfilt('bandpassfir', ...
'StopbandFrequency1',20, ...
'PassbandFrequency1',12, ...
'PassbandFrequency2',14, ...
'StopbandFrequency2',80, ...
'DesignMethod','kaiserwin',...
'PassbandRipple',0.01, ...
'StopbandAttenuation1',50, ...
'StopbandAttenuation2',50, ...
'SampleRate',200);
figure(1);fv1=fvtool(BpFilt)

Answers (0)

Categories

Find more on Audio Processing Algorithm Design in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!