Hello everyone, i am pretty much stuck right now. I have a MATLAB code that i've beem converting to C code. Its been going good till i got to the XCORR function which is the autocorrelation function.
I have the code written out, which i got from the book Numerical Recipies in C . The code builds, but i keep on getting a unhandled exception when I try to run it. Please help! I'm going to attach my whole code, which might be hard to understand. the correlation function is near the bottom.