| Filter Design Toolbox | ![]() |
ReferenceCoefficients
The ReferenceCoefficients property values are specified as a cell array that specifies the original (unquantized) reference filter coefficients. You specify these in double-precision, using a syntax specific to the value of the FilterStructure property.
Assigning Reference Filter Coefficients
To assign the coefficients that specify the filter that serves as the reference for your quantized filter, specify the value of the ReferenceCoefficients property. The syntax you use to assign reference filter coefficients for your quantized filter depends on the value you assign to the FilterStructure property. These syntaxes are described in the following two tables. The first table explains the syntax for the ReferenceCoefficients property value when you want to specify one section for your filter. The next table explains how to specify the coefficients for filters with L cascaded sections.
You can specify quantized filters with multiple sections for all of the filter structures.
The following table describes the syntax for entering reference coefficients to specify a quantized filter with L second-order or arbitrary-order sections.
| Section Structure |
Syntax for ReferenceCoefficients Property Value |
| L second-order sections |
{ {b1 a1} {b2 a2} ... {bL aL} }
You can use |
| L sections, each of arbitrary order (except FIR filters) |
{ {b1 a1} {b2 a2} ... {bL aL} }
|
| L sections, each of arbitrary order (only FIR) |
{ {b1} {b2} ... {bL} } |
| L sections of coupled allpass lattice filters |
{{k11,k21,beta1},...,{k1L,k2L,betaL)}:
|
| L sections of lattice ARMA filters |
{{k1,v1},...,{kL,vL}}: |
| L sections of lattice AR or MA filters |
{{k1},...,{kL}}: |
| L sections of state-space filters |
{{A1,B1,C1,D1},...,{AL,BL,CL,DL}}:
|
Conversion functions in this toolbox and in Signal Processing Toolbox let you convert transfer functions to other filter forms and from filter forms to transfer functions. Relevant conversion functions include the following functions.
| Conversion Function |
Description |
ca2tf |
Converts from a coupled allpass filter to a transfer function. |
cl2tf |
Converts from a lattice coupled allpass filter to a transfer function. |
sos |
Converts quantized filters to create second-order sections. This is the recommended method for converting quantized filters to second-order sections. |
tf2ca |
Converts from a transfer function to a coupled allpass filter. |
tf2cl |
Converts from a transfer function to a lattice coupled allpass filter. |
tf2latc |
Converts from a transfer function to a lattice filter. |
tf2sos |
Converts from a transfer function to a second-order section form. |
tf2ss |
Converts from a transfer function to state-space form. |
tf2zp |
Converts from a rational transfer function to its factored (single section) form (zero-pole-gain form). |
zp2sos |
Converts a zero-pole-gain form to a second-order section form. |
zp2ss |
Conversion of zero-pole-gain form to a state-space form. |
zp2tf |
Conversion of zero-pole-gain form to transfer functions of multiple order sections. |
You can specify a filter with L sections of arbitrary order by:
tf2zp.
zp2tf to compose the transfer function for each section from the selected first-order factors obtained in step 1.
Note
You are not required to normalize the leading coefficients of each section's denominator polynomial when specifying second-order sections, though tf2sos does.
|
| ProductFormat | ScaleValues | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2010 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |