dsp.CepstralToLPC System object

Package: dsp

Convert cepstral coefficients to linear prediction coefficients

Description

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.

Construction

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.

Properties

PredictionErrorOutputPort

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.

Methods

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

Examples

Convert cepstral coefficients to linear prediction coefficients (LPC):

 cc=[0 0.9920 0.4919 0.3252 0.2418 , ...
 0.1917 0.1583 0.1344 0.1165 0.0956]'; 
 hcc2lpc=dsp.CepstralToLPC;
 a=step(hcc2lpc,cc);

Algorithms

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.

Was this topic helpful?