This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

dsp.CepstralToLPC System object

Package: dsp

Convert cepstral coefficients to linear prediction coefficients


The CepstralToLPC object converts cepstral coefficients to linear prediction coefficients (LPC).

To convert cepstral coefficients to LPC:

  1. Define and set up your System object™. See Construction.

  2. 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.

    Note:   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.


H=dsp.CepstralToLPC returns a System object, H, that converts the cepstral coefficients(CCs) to linear prediction coefficients (LPCs).

H=dsp.CepstralToLPC('PropertyName',PropertyValue,...) returns a Cepstral to LPC object, H, with each specified property set to the specified value.



Enable prediction error power output

Set this property to true to output the prediction error power. The prediction error power is the power of the error output of an FIR analysis filter represented by the LPCs for a given input signal. The default is false.


cloneCreate cepstral to LPC object with same property values
getNumInputsNumber of expected inputs to the step method
getNumOutputsNumber of outputs of the step method
isLockedLocked status for input attributes and nontunable properties
releaseAllow property value and input characteristics changes
stepLPC coefficients from column of cepstral coefficients


expand all

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]';
hcc2lpc = dsp.CepstralToLPC;
a = hcc2lpc(cc)
a =



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.

Introduced in R2012a

Was this topic helpful?