Forums

autocorrelation function C code for full signal

Started by Qiaoke_lily December 13, 2007
Hi:

im interested in finding autocorrelation function for a whole signal
instead of a frame only of a signal. i have been refered to a post in
year06 (Autocorrelation function, Java or C code) regarding the
autocorrelation for a frame of a signal, and i tried to modify the C code
for finding the autocorrelation function of the whole signal. However my
trial has failed. 

Does anyone have the C code for the autocorrelation function for the whole
signal? Any suggestion and help will be very much appreciated! 

Thanks in advance.

Your Sincerely,
D'nise


On Dec 13, 8:12 am, "Qiaoke_lily" <Qiaoke_l...@hotmail.com> wrote:
> Hi: > > im interested in finding autocorrelation function for a whole signal > instead of a frame only of a signal. i have been refered to a post in > year06 (Autocorrelation function, Java or C code) regarding the > autocorrelation for a frame of a signal, and i tried to modify the C code > for finding the autocorrelation function of the whole signal. However my > trial has failed. > > Does anyone have the C code for the autocorrelation function for the whole > signal? Any suggestion and help will be very much appreciated!
how long is your "whole" signal? it may be a lot of computations, but can't you apply the straight- forward definition of autocorrelation to the signal? it might take tens of megawords of memory and an overnight to compute, but the definition should be pretty easy to implement in any programming language. perhaps 10 lines of C code. r b-j