Main Content

info

Get filter information

Description

example

infoStruct = info(obj) returns a structure, infoStruct, containing information about obj.

Examples

collapse all

Create a graphicEQ System object™. Call info to return a structure containing standards-based center, edge, and preferred frequencies.

equalizer = graphicEQ;
info(equalizer)
ans = struct with fields:
       CenterFrequencies: [1x10 double]
         EdgeFrequencies: [1x11 double]
    PreferredFrequencies: [31.5000 63 125 250 500 1000 2000 4000 8000 16000]

Create a default octaveFilterBank. Call info to return a struct containing information about the octave filter bank.

octFiltBank = octaveFilterBank;

infoStruct = info(octFiltBank)
infoStruct = struct with fields:
      CenterFrequencies: [1x10 double]
    BandedgeFrequencies: [1x11 double]
            GroupDelays: [1x10 double]

Create a default gammatoneFilterBank. Call info to return a struct containing information about the octave filter bank.

gammaFiltBank = gammatoneFilterBank;

infoStruct = info(gammaFiltBank)
infoStruct = struct with fields:
    CenterFrequencies: [1x32 double]
           Bandwidths: [1x32 double]
          GroupDelays: [1x32 double]

Input Arguments

collapse all

Object to get information from, specified as an object of gammatoneFilterBank, octaveFilterBank, or graphicEQ.

Output Arguments

collapse all

Struct containing information about the input obj.

Introduced in R2017b