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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started