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
Get step-by-step solutions from verified subject matter experts
