Convert a signal in a particular frequency range
3 ビュー (過去 30 日間)
古いコメントを表示
The attached file is an EMG signal. How to know the frequency range of that signal? Its sampling rate is 2000 Hz. I wanted to convert the signal in the frequency range 20 - 450 Hz. How to do it?
0 件のコメント
採用された回答
Star Strider
2017 年 7 月 22 日
See my Answer to your other Question for the details.
This filter will be:
Fs = 2000; % Sampling Frequency (Hz)
Fn = Fs/2; % Nyquist Frequency (Hz)
Wp = [20 450]/Fn; % Passband Frequencies (Normalised)
Ws = [19 455]/Fn; % Stopband Frequencies (Normalised)
Rp = 10; % Passband Ripple (dB)
Rs = 50; % Stopband Ripple (dB)
[n,Ws] = cheb2ord(Wp,Ws,Rp,Rs); % Filter Order
[z,p,k] = cheby2(n,Rs,Ws); % Filter Design
[sosbp,gbp] = zp2sos(z,p,k); % Convert To Second-Order-Section For Stability
NOTE — Make appropriate changes to my other code for your EMG signal.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Spectral Measurements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!