Matlab+ FIR filter that compensates for the ‘sinx/x’ effect

Status
Not open for further replies.

cenation

Newbie level 4
Joined
Mar 21, 2013
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,317
Can anyone help me with this?

I need to design a linear-phase FIR filter that compensates for the ‘sinx/x’ effect with a peak approximation error of -40 dB on the frequency band of
[0, 0.8π] radian.
 

It is not clear for me if the signal has a sinx/x shape in the time domain or in the frequency domain.

If you wish attenuate the side lobules with a low pass filter use

y is you signal in the time domain
fl=100; % LPF length
fbe=[0 0.1 0.2 1]; damps=[1 1 0 0 ]; % design of LPF parameters, analyze with 'doc firpm'
b=firpm(fl,fbe,damps); % create LPF impulse response
x3=2*filter(b,1,y); % LPF and scale downconverted signal

you will find abundant information in this practical book attached.

Regards, Daniel
 

Attachments

  • SoftwareReceiverDesign.pdf
    6.5 MB · Views: 202
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…