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.

How to write the matlab code for decimation filter?

Status
Not open for further replies.

triump.ar

Junior Member level 2
Joined
Dec 9, 2007
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,440
how to write the matlab code for decimation filter...consisting of one comb filter followed by two fir filter....how to start ...and which points to b considered for the design...
 

decimation filter

firstly - what do you want to get, just to see the frequency response or get the decimated data out.

use freqz(h) to view the response.

and use conv(h, input) to get output then do decimate - just as out = out(1:decimate_ratio:end)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top