Application of multistage decimator filter to signal
Dear all
We had a piece of code to decimate data (decimation ratio (dec_factor) > 13) that read:
Hfd=fdesign.decimator(dec_factor,’Nyquist’);
Hm=design(Hfd,’multistage’);
signal_output=filter(Hm,signal_input);
Matlad is warning that
Warning: Multistage design using fdesign.decimator will be removed. Use designMultistageDecimator instead.
So we are replacing the codewith:
Astop = 80;
TW = 0.03*fs_sampling/2;
Hm=designMultistageDecimator(dec_factor,fs_sampling,TW,Astop,’CostMethod’,’design’);
We don´t know what to do with Hm in order to apply the filter to get signal_input.
Any ideas?
Thanks in advanceDear all
We had a piece of code to decimate data (decimation ratio (dec_factor) > 13) that read:
Hfd=fdesign.decimator(dec_factor,’Nyquist’);
Hm=design(Hfd,’multistage’);
signal_output=filter(Hm,signal_input);
Matlad is warning that
Warning: Multistage design using fdesign.decimator will be removed. Use designMultistageDecimator instead.
So we are replacing the codewith:
Astop = 80;
TW = 0.03*fs_sampling/2;
Hm=designMultistageDecimator(dec_factor,fs_sampling,TW,Astop,’CostMethod’,’design’);
We don´t know what to do with Hm in order to apply the filter to get signal_input.
Any ideas?
Thanks in advance Dear all
We had a piece of code to decimate data (decimation ratio (dec_factor) > 13) that read:
Hfd=fdesign.decimator(dec_factor,’Nyquist’);
Hm=design(Hfd,’multistage’);
signal_output=filter(Hm,signal_input);
Matlad is warning that
Warning: Multistage design using fdesign.decimator will be removed. Use designMultistageDecimator instead.
So we are replacing the codewith:
Astop = 80;
TW = 0.03*fs_sampling/2;
Hm=designMultistageDecimator(dec_factor,fs_sampling,TW,Astop,’CostMethod’,’design’);
We don´t know what to do with Hm in order to apply the filter to get signal_input.
Any ideas?
Thanks in advance filtering, multistage filtering MATLAB Answers — New Questions