(To be removed) Convert cepstral coefficients to linear prediction coefficients
dsp.CepstralToLPC
will be removed in a future release. For more
information, see Compatibility Considerations.
The CepstralToLPC
object converts cepstral
coefficients to linear prediction coefficients (LPC).
To convert cepstral coefficients to LPC:
Define and set up your System object™. See Construction.
Call step
to convert the coefficients
according to the properties of dsp.CepstralToLPC
. The behavior of step
is specific to each object in the toolbox.
Starting in R2016b, instead of using the step
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)
and y = obj(x)
perform equivalent operations.
cc2lpc = dsp.CepstralToLPC
returns a System
object, cc2lpc
, that converts the cepstral
coefficients(CCs) to linear prediction coefficients (LPCs).
cc2lpc = dsp.CepstralToLPC(
returns a 'PropertyName'
,PropertyValue
,...)Cepstral to LPC
object, cc2lpc
, with each specified property set to the specified
value.
|
Enable prediction error power output Set this property to |
step | LPC coefficients from column of cepstral coefficients |
Common to All System Objects | |
---|---|
release | Allow System object property value changes |
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 cepstral coefficients to linear prediction coefficients.
cc = [0 0.9920 0.4919 0.3252 0.2418 , ...
0.1917 0.1583 0.1344 0.1165 0.0956]';
cc2lpc = dsp.CepstralToLPC;
a = cc2lpc(cc)
a = 10×1
1.0000
-0.9920
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0001
0.0070
This object implements the algorithm, inputs, and outputs described on the LPC to/from Cepstral Coefficients block reference page. The object properties correspond to the block parameters.