| Signal Processing Blockset™ | ![]() |
Convert line spectral frequencies or line spectral pairs to linear prediction coefficients
Estimation / Linear Prediction
dsplp
The LSF/LSP to LPC Conversion block takes a vector or matrix of line spectral pairs (LSPs) or line spectral frequencies (LSFs) and converts it to a vector or matrix of linear prediction polynomial coefficients (LPCs). When converting LSFs to LPCs, the block outputs match those of the lsf2poly function.
The block input must be a sample-based row vector, which is treated as a single channel, or a matrix, which is treated as a single channel per column. Each input channel must be in the same format, which you specify in the Input parameter:
LSF in range (0 pi) — Vector of LSF values between 0 and π radians in increasing order. Do not include the guaranteed LSF values, 0 and π.
LSF normalized in range (0 0.5) — Vector of normalized LSF values in increasing order, (compute by dividing the LSF values between 0 and π radians by 2π). Do not include the guaranteed normalized LSF values, 0 and 0.5.
LSP in range (-1 1) — Vector of LSP values in decreasing order, equal to the cosine of the LSF values between 0 and π radians. Do not include the guaranteed LSP values, -1 and 1.

Specifies whether to convert LSP in range (-1 1), LSF in range (0 pi), or LSF normalized in range (0 0.5) to linear prediction coefficients (LPCs).
Double-precision floating point
Single-precision floating point
Kabal, P. and Ramachandran, R. "The Computation of Line Spectral Frequencies Using Chebyshev Polynomials." IEEE Transactions on Acoustics, Speech, and Signal Processing, Vol. ASSP-34 No. 6, December 1986. pp. 1419-1426.
| LPC to LSF/LSP Conversion | Signal Processing Blockset |
| LPC to/from RC | Signal Processing Blockset |
| LPC/RC to Autocorrelation | Signal Processing Blockset |
| lsf2poly | Signal Processing Toolbox |
![]() | LPC to LSF/LSP Conversion | LPC to/from Cepstral Coefficients | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |