// fir.c // David_Harris@hmc.edu 20 January 2022 // Finite Impulse Response Filter #include // supports printf #include // supports fabs #include "util.h" // supports verify void fir(int N, int M, double X[], double c[], double Y[]) { int i, n; double sum; for (n=0; n 1e-10) { return 1; } } return 0; }