dsp.LSFToLPC System object
Convert line spectral frequencies to linear prediction coefficients
Description
TheLSFToLPC
object converts line spectral frequencies to linear prediction coefficients.
To convert LSF to LPC:
Define and set up your LSF to LPC converter. SeeConstruction.
Call
step
to convert LSF according to the properties ofdsp.LSFToLPC
. The behavior ofstep
is specific to each object in the toolbox.
Note
Starting in R2016b, instead of using thestep
method to perform the operation defined by the System object™, you can call the object with arguments, as if it were a function. For example,y = step(obj,x)
andy = obj(x)
perform equivalent operations.
Construction
lsf2lpc = dsp.LSFToLPC
returns an LSF to LPC System object,lsf2lpc
, which converts line spectral frequencies (LSFs) to linear prediction coefficients (LPCs).
Methods
step | Convert input line spectral frequencies to linear prediction coefficients |
Common to All System Objects | |
---|---|
release |
Allow System object property value changes |
Examples
Algorithms
This object implements the algorithm, inputs, and outputs described on theLSF/LSP to LPC Conversionblock reference page. The object properties correspond to the block parameters, except:
The object does not have a property that corresponds to theInputblock parameter. The object's behavior corresponds to the block's behavior when you set theInputparameter toLSF in range (0 pi) . |