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: [31.6228 63.0957 125.8925 251.1886 501.1872 ... ]
         EdgeFrequencies: [22.3872 44.6684 89.1251 177.8279 354.8134 ... ]
    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: [31.6228 63.0957 125.8925 251.1886 501.1872 ... ]
    BandedgeFrequencies: [22.3872 44.6684 89.1251 177.8279 354.8134 ... ]
            GroupDelays: [627.7755 314.6320 157.6887 79.0300 39.6056 ... ]

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: [50.0000 82.1776 118.0670 158.0966 202.7439 ... ]
           Bandwidths: [30.6688 34.2080 38.1555 42.5583 47.4691 52.9463 ... ]
          GroupDelays: [330.1033 295.5650 264.8688 237.2999 212.5619 ... ]

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