Question: I want you to write a C program that implements both the linear and the circular buffer for a general order FIR filter. Your inputs

I want you to write a C program that implements both the linear and the circular buffer for a general order FIR filter. Your inputs will be:

1. the sequence of input sample values,x[n] , and

2. the filter coefficients hk,

Your output will be the sequence of output sample values, y[n]. The lengths of both inputs should be variable. The input sequences should be in separate files, adc.txt and chefs.txt, and they will have one data per line. You must determine the number of data for each from reading the data. Write the output data (your filter output) to the file dac.txt.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!