Main Content

info

Get filter information

Description

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

example

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 1000 1.9953e+03 3.9811e+03 7.9433e+03 1.5849e+04]
         EdgeFrequencies: [22.3872 44.6684 89.1251 177.8279 354.8134 707.9458 1.4125e+03 2.8184e+03 5.6234e+03 1.1220e+04 22050]
    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 1000 1.9953e+03 3.9811e+03 7.9433e+03 1.5849e+04]
    BandedgeFrequencies: [22.3872 44.6684 89.1251 177.8279 354.8134 707.9458 1.4125e+03 2.8184e+03 5.6234e+03 1.1220e+04 22050]
            GroupDelays: [630.0160 315.7551 158.2517 79.3121 39.7471 19.9144 9.9678 4.9661 2.3963 0.5088]

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 252.5416 308.0839 370.0333 439.1291 516.1956 602.1523 698.0247 804.9568 924.2243 1.0573e+03 1.2056e+03 1.3711e+03 1.5557e+03 1.7616e+03 1.9912e+03 2.2473e+03 2.5329e+03 ... ] (1x32 double)
           Bandwidths: [30.6688 34.2080 38.1555 42.5583 47.4691 52.9463 59.0554 65.8692 73.4690 81.9456 91.3999 101.9449 113.7064 126.8246 141.4561 157.7754 175.9773 196.2789 218.9225 244.1782 272.3473 303.7659 338.8089 377.8944 ... ] (1x32 double)
          GroupDelays: [330.1033 295.5650 264.8688 237.2999 212.5619 190.3751 170.4802 152.6421 136.6488 122.3099 109.4544 97.9288 87.5958 78.3320 70.0268 62.5810 55.9059 49.9217 44.5571 39.7479 35.4368 31.5723 28.1083 25.0034 22.2207 ... ] (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.

Version History

Introduced in R2017b