www.gusucode.com > dsp 案例源码程序 matlab代码 > dsp/ConvertLSPToLPCCoefficientsExample.m
%% Convert LSP 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). %% % Convert line spectral pairs to linear prediction coefficients. ylsp = [0.7080 0.0103 -0.3021 -0.3218 -0.7093]'; hlsp2lpc = dsp.LSPToLPC; ylpc = hlsp2lpc(ylsp)