Hi, can anyone help me.. how to find transfer function of theta band EEG?

2 ビュー (過去 30 日間)
alaisya
alaisya 2017 年 5 月 9 日
コメント済み: Lizhao Du 2017 年 6 月 8 日
theta band frequency=(4-8 Hz) fs=1000

採用された回答

Star Strider
Star Strider 2017 年 5 月 9 日
Here you go:
Fs = 1000; % Sampling Frequency (Hz)
Fn = Fs/2; % Nyquist Frequency (Hz)
Wp1 = [4.0 8.0]/Fn; % Passband Frequencies (Normalized)
Ws1 = [3.9 8.1]/Fn; % Stopband Frequencies (Normalized)
Rp = 10; % Passband Ripple (dB)
Rs = 50; % Stopband Ripple (dB)
[n,Ws] = cheb2ord(Wp1,Ws1,Rp,Rs); % Filter Order
[z,p,k] = cheby2(n,Rs,Ws); % Filter Design
[sosbp1,gbp1] = zp2sos(z,p,k); % Convert To Second-Order-Section For Stability
figure(1)
freqz(sosbp1, 2^17, Fs)
set(subplot(2,1,1), 'XLim',[0 15]) % ‘Zoom’ X-Axis To See Passband
set(subplot(2,1,2), 'XLim',[0 15]) % ‘Zoom’ X-Axis To See Passband
theta_eeg = filtfilt(sosbp1, gpb1, original_eeg); % Filter EEG Signal
  9 件のコメント
Star Strider
Star Strider 2017 年 6 月 8 日
A vote for my Answer would be appreciated!
Lizhao Du
Lizhao Du 2017 年 6 月 8 日
Of course I have done it.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEEG/MEG/ECoG についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by