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

    %% Convert Reflection Coefficients to Autocorrelation 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).

%%
k = [-0.8091 0.2525 -0.5044 0.4295 -0.2804 0.0711].';
hrc2ac = dsp.RCToAutocorrelation;
ac = hrc2ac(k);