buttap function

Butterworth filter prototype

Butterworth filter prototype

Return the poles and gain of an analog Butterworth lowpass filter prototype.

buttap(n)

Arguments

  • n: Order of the filter.

Returns

List of class Zpg containing poles and gain of the filter.

Details

This function exists for compatibility with 'Matlab' and 'Octave' only, and is equivalent to butter(n, 1, "low", "s").

Examples

## 9th order Butterworth low-pass analog filter zp <- buttap(9) w <- seq(0, 4, length.out = 128) freqs(zp, w)

Author(s)

Carne Draug, carandraug+dev@gmail.com .

Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com .

  • Maintainer: Geert van Boxtel
  • License: GPL-3
  • Last published: 2024-09-11