Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

urgently need ..matlab code

Status
Not open for further replies.

guest_1044

Newbie level 2
Joined
Jun 21, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
germany
Activity points
1,301
my Rf signal is 102.3 Mhz and it is fed to mixer and I need IF as 5Mhz so i set the local ocillator to 97.3Mhz to obtain the 5Mhz that is my IF.

I have to pass this IF through low pass filter and then decimation and obtain the same IF frequency as 5Mhz.

But my sampling frequency is 409.8Mhz for filter so i have to reduce to 20.49Mhz. so i have to decimate it by 20 then i will obtain the 20.49Mhz.

i am decimating in 2 stages 20(5x4).

first time i am using CIC filter and decimate by 5 to obtain 81.96Mhz. and then i will pass this new sampling frequency of 81.96 to Half band filter and decimate by 4 to obtain the 20.49Mhz.

I need matlab code for the filter and decimation process . and my IF frequency and decimation factor will changes so i need a general variable matlab code for the filters..

my paramets for the filter are

passband ripple = 0.0116 (0.1dB)
stop band ripple = 0.0316(30dB)

pass band is 10Mhz and stop band is 15 Mhz and new sampling frequency after decimation is 20.48.
 

hello,
pls i am also designing a CIC filter,but i am stuck can u help me?i am tryin to model it in matlab with these parameters(N=5,R=16,M=1) tnx
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top