| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Filter Design Toolbox |
| Contents | Index |
| Learn more about Filter Design Toolbox |
s = coeffs(ha)
s = coeffs(hd)
s = coeffs(hm)
The next sections describe common coeffs operation with adaptive, discrete-time, and multirate filters.
s = coeffs(ha) returns a structure s containing the coefficients of adaptive filter ha. These are the instantaneous filter coefficients available at the time you use the function.
s = coeffs(hd) returns a structure s that contains the coefficients of discrete-time filter hd.
s = coeffs(hm) returns s, a structure containing the coefficients of discrete-time filter hm. CIC-based filters do not have coefficients and this function does not work with constructors like mfilt.cicdecim.
coefficients works the same way for all filters. This example uses a multirate filter hm to demonstrate the function.
hm=mfilt.firdecim(3)
hm =
FilterStructure: 'Direct-Form FIR Polyphase Decimator'
Arithmetic: 'double'
Numerator: [1x72 double]
DecimationFactor: 3
PersistentMemory: false
s=coeffs(hm)
s =
Numerator: [1x72 double]
The filter coefficients may be extracted by typing s.Numerator at the command prompt.
adaptfilt, freqz, grpdelay, impz, info, phasez, stepz, zerophase, zplane
![]() | cl2tf | coeread | ![]() |

Learn how to apply early verification to your development process through these technical resources.
How much time do you spend on testing to ensure implementation meets system-level requirements?
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |