文档

DSP.LPCTORC系统对象

将线性预测系数转换为反射系数

描述

lpctorc对象将线性预测系数转换为反射系数。

将LPC转换为反射系数:

  1. 定义并将LPC设置为RC转换器。看建造

  2. 称呼to convert LPC according to the properties ofdsp.LPCToRC。行为特定于工具箱中的每个对象。

笔记

从R2016b开始,而不是使用执行由System Object™定义的操作的方法,您可以用参数调用对象,就好像它是函数一样。例如,y = step(obj,x)andy = obj(x)执行等效操作。

建造

LPC2RC= dsp.LPCToRC将LPC返回到RC系统对象,LPC2RC,将线性预测系数(LPC)转换为反射系数(RC)。

lpc2rc = dsp.lpctorc('属性名称',,适当的价值,...))将LPC返回到RC转换对象,LPC2RC,每个指定的属性设置为指定值。

特性

PredictionErrorOutputPort

启用标准化的预测误差功率输出

将此属性设置为true返回规范化错误权力作为一个向量with one element per input channel. Each element varies between zero and one. The default istrue

exceptionOutputport

产生以LPC系数表示过滤器的稳定性状态的输出状态

将此属性设置为true返回过滤器的稳定性状态。逻辑价值的价值1指示一个稳定的过滤器。逻辑价值的价值0指示不稳定的过滤器。默认值为错误的

NonunityFirstCofelication

第一次LPC系数不是1时要采取的措施

Specify the action that the object takes when the first coefficient of each channel of the LPC input is not 1. Select替换为1or归一化。默认值为替换为1

Methods

将线性预测系数的列转换为反射系数
所有系统对象共有
发布

允许系统对象属性值更改

例子

展开全部

笔记: This example runs only in R2016b or later. If you are using an earlier release, replace each call to the function with the equivalent句法。例如,myObject(x)变为步骤(myObject,x)。

将线性预测系数转换为反射系数:

加载MTLBlevinson = dsp.levinsolver;levinson.aoutputport = true;levinson.koutputport = false;ac = dsp.Autocorrelator;lpc2rc = dsp.lpctorc;ac.maximumlagsource ='财产';

计算[0:10]之间滞后的自相关性

ac.maximumlag = 10;a = ac(mTLB);a = levinson(a);%计算LPC系数[K, P] = lpc2rc(A);% Convert to RC

算法

该对象实现了算法,输入和输出LPC到RC/来自RC块参考页。对象属性对应于块参数,除了:

  • 这re is no object property that corresponds to the转换类型块参数。该对象始终将LPC转换为RC。

  • NonunityFirstCofelication对象属性对应于如果第一个输入值不是1块参数。没有一个标准化并警告nor anErroroption for the object.

扩展功能

在R2012a中引入

这个话题有帮助吗?