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

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS