Hi I've been trying to write a function to perform fir filtering with a buffer in C and am having trouble with the output. My filter coefficients were generated in MATLAB with 29 taps and I'm trying to multiply and accumulate with an input signal of 1400 samples. After the 29th calculation, the results are inaccurate and I'm not sure how to alleivate the issue.

My programming skills in C are very poor and any assistance would be...