From: Juozas Vaitonis on
Hello,
i need to do autocorrelation for audio signal, in my situation i splited my wav format mono channel signal into 24 frames, which each has 4000samples. So i got a matrix 4000x24. I need process it with autocorrelation to get set of (p+1) coefficients , where p is the order of the desired LPC (Linear predictive coding) analysis. So which function to use ? autocorr?or xcorr? could someone can provide me with answer what is the difference between those two fuction and how to get those coefficients in output? Thanks in advance.

Juozas
From: Md Sahidullah on
dear Juozas,

If you want lpc coefficient, you can use 'lpc' function of matlab. apply it for each of the frames.
see the help of the function.
It is computed using the autocorrelation method. For details open the matlab function.

Thanks & Regards
Sahidullah

"Juozas Vaitonis" <blinkas182(a)gmail.com> wrote in message <hsf71v$pr7$1(a)fred.mathworks.com>...
> Hello,
> i need to do autocorrelation for audio signal, in my situation i splited my wav format mono channel signal into 24 frames, which each has 4000samples. So i got a matrix 4000x24. I need process it with autocorrelation to get set of (p+1) coefficients , where p is the order of the desired LPC (Linear predictive coding) analysis. So which function to use ? autocorr?or xcorr? could someone can provide me with answer what is the difference between those two fuction and how to get those coefficients in output? Thanks in advance.
>
> Juozas