# Estimate LPC's

Started by May 17, 2004
 Hello, I am trying to compute a solution using the least- square- error principle to an overdetermined system of equations. The equation is as below: Error = summation (y[n] summation (ai x[n-i] ) ).... in 'ai' term `i' is subscript where `n' ranges from 1 to 300 and `i' ranges from 1 to 18. The outside summation is for `n' (1,2,3,4,299,300) whereas the inside summation is for 'i' (1,2,3,418) I am interested in calculating `ai ` ( i is subscript) where 'ai' represents Linear Prediction Coefficients. I could have used the Levinson-Durbin algorithm but in this case, two different signals are in consideration, namely, y[n] and x[n], and hence the `autocorrelation' method cannot be used. I have y[n] and x[n] available but not able to evaluate that expression. I would be obliged if anybody could help me in solving/evaluating the above equation so that I can find ai's (LP coefficients). Is it possible to solve using Maple, Matlab, Mathematica etc? I am interested in writing a C program for the above expression. Regards, Rahul Parthasarthy