creates a lowpass biquadratic filter using the characteristic frequency ω and the quality factor q.

creates a filter of a given {"type",spec}.

expresses the model in terms of the variable var.

# Details • BiquadraticFilterModel returns the filter as a TransferFunctionModel.
• Biquadratic filters are second-order filters defined by a ratio of two quadratic polynomials. They are among the most commonly used circuits in analog and digital signal processing.
• Filter specifications {"type",spec} can be any of the following:
• {"Lowpass",{{ω,q}}} uses cutoff frequency ω and quality factor q {"Highpass",{{ω,q}}} uses cutoff frequency ω and quality factor q {"Allpass",{{ω,q}}} uses frequency ω and quality factor q {"Bandpass",{ω1,ω2}} uses corner frequencies ω1 and ω2 {"Bandpass",{{ω,q}}} uses center frequency ω and quality factor q {"Bandstop",{ω1,ω2}} uses corner frequencies ω1 and ω2 {"Bandstop",{{ω,q}}} uses center frequency ω and quality factor q
• The following filter specifications can be given to create equalizers:
• {"Peaking",{{ω,q}},g} peaking equalizer using gain value g {"LowShelf",{{ω,q}},g} lowpass shelving equalizer using gain value g {"HighShelf",{{ω,q}},g} highpass shelving equalizer using gain value g
• Given the gain value , the attenuation is .

# Examples

open all close all

## Basic Examples(3)

 In:= Out= Bode plot of the filter:

 In:= Out= A bandpass filter using the full specification:

 In:= Out= Bode plot of the filter:

 In:= Out= Create a lowpass filter and apply it to a dual-tone signal:

 In:= Out= ## Properties & Relations(7)

Introduced in 2016
(10.4)