MATLAB: Convert a signal in a particular frequency range

signal processing

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?

Best Answer

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.