我有一个简单的EEG信号在MATLAB中,如下图所示。我想要根据以下表格提取EEG的组成部分。
附上使用“fdatool”获得的滤波器代码。
有什么建议可以解决这个问题吗?谢谢大家。
- Delta - 最高4赫兹;
- Theta - 4 -> 8赫兹
- Alpha - 8 -> 13赫兹
- Beta - 13 -> 30赫兹
- Gamma - 30 -> 100赫兹
附上使用“fdatool”获得的滤波器代码。
function Hd = filt_teta
%FILTROPARA TETA Returns a discrete-time filter object.
%
% M-File generated by MATLAB(R) 7.9 and the Signal Processing Toolbox 6.12.
%
% Generated on: 05-May-2011 16:41:40
%
% Butterworth Bandpass filter designed using FDESIGN.BANDPASS.
% All frequency values are in Hz.
Fs = 48000; % Sampling Frequency
Fstop1 = 3; % First Stopband Frequency
Fpass1 = 4; % First Passband Frequency
Fpass2 = 7; % Second Passband Frequency
Fstop2 = 8; % Second Stopband Frequency
Astop1 = 80; % First Stopband Attenuation (dB)
Apass = 1; % Passband Ripple (dB)
Astop2 = 80; % Second Stopband Attenuation (dB)
match = 'stopband'; % Band to match exactly
% Construct an FDESIGN object and call its BUTTER method.
h = fdesign.bandpass(Fstop1, Fpass1, Fpass2, Fstop2, Astop1, Apass, ...
Astop2, Fs);
Hd = design(h, 'butter', 'MatchExactly', match);
有什么建议可以解决这个问题吗?谢谢大家。