ellipap {gsignal}R Documentation

Low-pass analog elliptic filter

Description

Return the zeros, poles and gain of an analog elliptic low-pass filter prototype.

Usage

ellipap(n, Rp, Rs)

Arguments

n

Order of the filter.

Rp

dB of passband ripple.

Rs

dB of stopband ripple.

Details

This function exists for compatibility with 'Matlab' and 'OCtave' only, and is equivalent to ellip(n, Rp, Rs, 1, "low", "s").

Value

list of class Zpg containing zeros, poles and gain of the filter.

Author(s)

Carne Draug, carandraug+dev@gmail.com. Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com.

Examples

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


[Package gsignal version 0.3-5 Index]