Filter löschen
Filter löschen

Convert a signal in a particular frequency range

3 Ansichten (letzte 30 Tage)
Elysi Cochin
Elysi Cochin am 22 Jul. 2017
Beantwortet: Star Strider am 22 Jul. 2017
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?

Akzeptierte Antwort

Star Strider
Star Strider am 22 Jul. 2017
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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by