Documentation Center

  • Trial Software
  • Product Updates

dsp.RCToAutocorrelation System object

Package: dsp

Convert reflection coefficients to autocorrelation coefficients

Description

The RCToAutocorrelation object converts reflection coefficients to autocorrelation coefficients.

To convert reflection coefficients to autocorrelation coefficients:

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

  2. Call step to convert reflection coefficients according to the properties of dsp.RCToAutocorrelation. The behavior of step is specific to each object in the toolbox.

Construction

H = dsp.RCToAutocorrelation returns an RCToAutocorrelation System object, H. This object converts reflection coefficients to autocorrelation coefficients, assuming an error power of 1.

H = dsp.RCToAutocorrelation('PropertyName',PropertyValue,...) returns an object, H, that converts reflection coefficients into autocorrelation coefficients, with each specified property set to the specified value.

Properties

PredictionErrorInputPort

Enable prediction error power input

Choose how to select the prediction error power. When you set this property to true, you must specify the prediction error power as a second input to the step method. When you set this property to false, the object assumes a prediction error power of 1. The default is false.

Methods

cloneCreate RC to autocorrelation object with same property values
getNumInputsNumber of expected inputs to step method
getNumOutputsNumber of outputs of step method
isLockedLocked status for input attributes and nontunable properties
releaseAllow property value and input characteristics changes
stepConvert columns of reflection coefficients to autocorrelation coefficients

Examples

Convert reflection coefficients to autocorrelation coefficients:

 k = [-0.8091 0.2525 -0.5044 0.4295 -0.2804 0.0711].';
 hrc2ac = dsp.RCToAutocorrelation;
 ac = step(hrc2ac, k);

Algorithms

This object implements the algorithm, inputs, and outputs described on the LPC/RC to Autocorrelation block reference page. The object properties correspond to the block parameters, except:

  • There is no object property that corresponds to the Type of conversion block parameter.

  • PredictionErrorInputPort is a pop-up menu choice on the block. Setting the PredictionErrorInputPort object property to false corresponds to selecting Assume P = 1 in the pop-up menu. Setting PredictionErrorInputPort to true corresponds to selecting Via input port from the pop-up menu.

See Also

| | |

Was this topic helpful?