// fir.C // David_Harris@hmc.edu 25 December 2021 // Finite Impulse Response Filter #include #define N 2000 #define M 100 #define PI 3.14159 double fir(double a[], double c[], double y[], int N, int M) { int i, j for (i=0; i