Main Content

numfilterbanks

Number of scattering filter banks

Description

example

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

Examples

collapse all

Calculate the number of filter banks for the default wavelet scattering network.

sf = waveletScattering
sf = 
  waveletScattering with properties:

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

Nfb = numfilterbanks(sf)
Nfb = 2

Input Arguments

collapse all

Wavelet time scattering network, specified as a waveletScattering object.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2018b