www.pudn.com > CELP.ZIP > lpc_ana.m


function lpc_coef=lpc_ana(curr,gamma2,fm_count) 
 
global frames olpc lpcMat 
 
hfrm=curr.*hamming(frames)';                            % Hamming windowed frames  
 
lpc_coef = lpc(hfrm,olpc);                              % Call Matlab command 'lpc' to get LPC coefficients 
 
lpc_coef = wcoff( gamma2, real(lpc_coef) );             % Weight the resultant LPC coefficients with 0.99413 
 
lpcMat(fm_count,:)=lpc_coef;                            % Store LPC coefficients