sdr.IIR.plot_frequency_response_log(sample_rate: float = 1.0, N: int = 1024, phase: bool = True, decades: int = 4)

Plots the frequency response \(H(\omega)\) of the IIR filter on a logarithmic frequency axis.

Parameters:
sample_rate: float = 1.0

The sample rate of the filter in samples/s.

N: int = 1024

The number of samples in the frequency response.

phase: bool = True

Indicates whether to plot the phase of \(H(\omega)\).

decades: int = 4

The number of frequency decades to plot.

Examples

See the IIR filters example.