getCenterFrequency

System object: dsp.ParametricEQFilter
Package: dsp

Convert center frequency coefficient to frequency in Hz

Compatibility

Note

The dsp.ParametricEQFilter object will be removed in a future release. Existing instances of the object continue to run. For new code, use the multibandParametricEQ object from Audio Toolbox™ instead.

Syntax

CF = getCenterFrequency(H)

Description

CF = getCenterFrequency(H) returns the center frequency of the parametric equalizer filter. If the Specification property is set to Coefficients, the center frequency is determined from the CenterFrequencyCoefficient value and the sample rate of the filter.