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

3 次查看(过去 30 天)
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)

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Audio Processing Algorithm Design 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by