Main Content


Number of scattering filter banks



nfb = numfilterbanks(sf) returns the number of filter banks in the scattering decomposition framework, sf. The number of filter banks in a scattering decomposition framework is equal to ord − 1 where ord is the number of scattering orders.


collapse all

Calculate the number of filter banks for the default scattering decomposition framework.

sf = waveletScattering
sf = 
  waveletScattering with properties:

          SignalLength: 1024
       InvarianceScale: 512
        QualityFactors: [8 1]
              Boundary: 'periodic'
     SamplingFrequency: 1
             Precision: 'double'
    OversamplingFactor: 0

Nfb = numfilterbanks(sf)
Nfb = 2

Input Arguments

collapse all

Scattering decomposition framework, specified as a waveletScattering object or a waveletScattering2 object.

Introduced in R2018b