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

    %% Convert LPC Coefficients To LSF 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).

%% 
% Convert LPC to LSF coefficients
a = [1.0000 0.6149 0.9899 0.0000 0.0031 -0.0082]';
hlpc2lsf = dsp.LPCToLSF;
y = hlpc2lsf(a);
display(y);