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 implement digital filter from Matlab

Status
Not open for further replies.

digi001

Full Member level 5
Joined
Apr 5, 2011
Messages
244
Helped
22
Reputation
44
Reaction score
21
Trophy points
1,298
Activity points
2,904
I'm looking to implement a simple digital IIR filter in C Code for my TI C2000 processor. I designed the filter in Matlab and have the b and a coefficients as:

num3 =
0.272667524669321 0.272667524669321 0
den3 =
1.000000000000000 -0.454664950661358 0

The filter should process the raw 16 bit signed data. I understand the basics of dsp and microcontroller, but this is my first actual practical filter. Whats next?
 

....Well i found a way to export the digital filter to a hardware structure in simulink. This makes it easier to visualize and code. I kept it floating-point.
 

filter2 function may be useful
 

filter2? actually not very useful for me since my signals are all one dimensional.
 

you can use filter function then I think
 

Hi i have developed a sigma delta ADC IN simulink but i dont know how to get the bit stream of that digitized waveform , any one can help me out......thnx
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top