How to control the stopband attenuation of the resample function ?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Abdelwahab Afifi
am 24 Okt. 2020
Beantwortet: Vaishnav Katiyar
am 27 Okt. 2020
I'm using resample function to upsample my data. I need to increase the stop band attenuation to improve the Adjacent channel power ratio (ACPR) . How can i do that?
0 Kommentare
Akzeptierte Antwort
Vaishnav Katiyar
am 27 Okt. 2020
This example shows how to design a minimum-order lowpass FIR filter with a passband frequency of 0.37*pi rad/sample, a stopband frequency of 0.43*pi rad/sample (hence the transition width equals 0.06*pi rad/sample), a passband ripple of 1 dB and a stopband attenuation of 30 dB.
Fpass = 0.37;
Fstop = 0.43;
Ap = 1;
Ast = 30;
d=
designfilt('lowpassfir','PassbandFrequency',Fpass,'StopbandFrequency',Fstop,'PassbandRipple',Ap,'StopbandAttenuation',Ast);
Refer the article below for more details on designing FIR and IIR filters based on frequency response specifications using the designfilt function in the Signal Processing Toolbox® product.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Filter Design finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!