www.gusucode.com > dsp 案例源码程序 matlab代码 > dsp/ConvertLSFCoefficientsToLPCCoefficientsExample.m

    %% Convert LSF Coefficients to LPC Coefficients
%%
% *Note*: This example runs only in R2016b or later. If you are using an
% earlier release, replace each call to the function with the equivalent
% |step| syntax. For example, myObject(x) becomes step(myObject,x).

%%
 a = [1.0000 0.6149 0.9899 0.0000 0.0031 -0.0082]'
 hlpc2lsf = dsp.LPCToLSF;
 ylsf = hlpc2lsf(a);
 hlsf2lpc = dsp.LSFToLPC;
 ylpc = hlsf2lpc(ylsf);
 
 %%
 % Check if values in |ylpc| are the same as in |a|.
 display(ylpc);