Products & Services Solutions Academia Support User Community Company

Learn more about Filter Design Toolbox   

disp - Filter properties and values

Syntax

disp(hd)
disp(ha)
disp(hm)

Description

Similar to omitting the closing semicolon from an expression on the command line, except that disp does not display the variable name. disp lists the property names and property values for any filter object, such as a dfilt object or adaptfilt object.

The following examples illustrate the default display for an adaptive filter ha and a multirate filter hm.

ha=adaptfilt.rls
 
ha =
 
      Algorithm: 'Direct Form FIR RLS Adaptive Filter'
    FilterLength: 10
    Coefficients: [0 0 0 0 0 0 0 0 0 0]
          States: [9x1 double]
ForgettingFactor: 1
      KalmanGain: []
         InvCov: [10x10 double]
PersistentMemory: false

disp(ha)
        Algorithm: 'Direct-Form FIR RLS Adaptive Filter'
     FilterLength: 10
     Coefficients: [0 0 0 0 0 0 0 0 0 0]
           States: [9x1 double]
 ForgettingFactor: 1
       KalmanGain: []
          InvCov: [10x10 double]
PersistentMemory: false

hm=mfilt.cicdecim(6)
 
hm =
 
 FilterStructure: 'Cascaded Integrator-Comb Decimator'
      Arithmetic: 'fixed'
DifferentialDelay: 1
 NumberOfSections: 2
 DecimationFactor: 6
 PersistentMemory: false
 
  InputWordLength: 16              
  InputFracLength: 15              
                                           
SectionWordLengthMode: 'MinWordLengths'
                                           
     OutputWordLength: 16              

disp(hm)

FilterStructure: 'Cascaded Integrator-Comb 
                  Decimator'
       Arithmetic: 'fixed'
DifferentialDelay: 1
 NumberOfSections: 2
 DecimationFactor: 6
 PersistentMemory: false
 
  InputWordLength: 16              
  InputFracLength: 15              
                                           
SectionWordLengthMode: 'MinWordLengths'
                                           
     OutputWordLength: 16 

See Also

set

  


Free Early Verification Kit

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