主要内容

specifyall

完全指定定点滤波器系统对象设置

描述

例子

specifyall (sysobj)所有的数据类型设置定点™过滤系统对象的属性“自定义”这样你可以很容易地指定所有定点设置。如果对象有一个FullPrecisionOverride属性,它的值被设置为specifyall是一个快捷方式改变所有定点属性。

specifyall (sysobj假)所有定点过滤系统对象的属性设置为默认值,不能设置过滤器模式中,如果一个是可用的。

specifyall (sysobj,真正的)相当于specifyall (sysobj)

例子

全部折叠

使用specifyall访问所有的定点设置一个直接形式的数字滤波器实现结构。使用specifyall禁用所有自动过滤器扩展和重置模式值。

b = fircband (12 [0 0.4 0.5 1] [1 1 0 0], 0.2 [1], {' w '“c”});firFilter = dsp.FIRFilter (“分子”,b);get (firFilter)
ans =结构体字段:分子:[0.0164 0.1031 -0.0632 -0.0907 0.0467 0.3139 0.4526 0.3139 0.0467 -0.0907 -0.0632 0.1031 0.0164]ReflectionCoefficients: [0.5000 - 0.5000] InitialConditions: 0 NumeratorSource:“财产”ReflectionCoefficientsSource:“财产”结构:“直接形式”FullPrecisionOverride: 1 RoundingMethod:“地板”OverflowAction:“包装”CoefficientsDataType:“同一个词长度作为输入”ReflectionCoefficientsDataType:“同一个词长度作为输入”CustomCoefficientsDataType: [1 x1嵌入。numerictype] CustomReflectionCoefficientsDataType: [1 x1嵌入。numerictype] ProductDataType:“全精密”CustomProductDataType: [1 x1嵌入。numerictype] AccumulatorDataType:“全精密”CustomAccumulatorDataType: [1 x1嵌入。numerictype] StateDataType:“蓄电池一样”CustomStateDataType: [1 x1嵌入。numerictype] OutputDataType:“蓄电池一样”CustomOutputDataType: [1 x1 embedded.numerictype]

specifyall函数集的所有数据类型定点冷杉过滤器的属性“自定义”

specifyall (firFilter) (firFilter)
ans =结构体字段:分子:[0.0164 0.1031 -0.0632 -0.0907 0.0467 0.3139 0.4526 0.3139 0.0467 -0.0907 -0.0632 0.1031 0.0164]ReflectionCoefficients: [0.5000 - 0.5000] InitialConditions: 0 NumeratorSource:“财产”ReflectionCoefficientsSource:“财产”结构:“直接形式”FullPrecisionOverride: 0 RoundingMethod:“地板”OverflowAction:“包装”CoefficientsDataType:“定制”ReflectionCoefficientsDataType:“定制”CustomCoefficientsDataType: [1 x1嵌入。numerictype] CustomReflectionCoefficientsDataType: [1 x1嵌入。numerictype] ProductDataType:“定制”CustomProductDataType: [1 x1嵌入。numerictype] AccumulatorDataType:“定制”CustomAccumulatorDataType: [1 x1嵌入。numerictype] StateDataType:“定制”CustomStateDataType: [1 x1嵌入。numerictype] OutputDataType:“定制”CustomOutputDataType: [1 x1 embedded.numerictype]

版本历史

介绍了R2011a