cheb1ap: Chebyshev Type I filter prototype

View source: R/cheb1ap.R

cheb1apR Documentation

Chebyshev Type I filter prototype

Description

Return the poles and gain of an analog Chebyshev Type I lowpass filter prototype.

Usage

cheb1ap(n, Rp)

Arguments

n

Order of the filter.

Rp

dB of pass-band ripple.

Details

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

Value

List of class Zpg containing the 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 Chebyshev type I low-pass analog filter
zp <- cheb1ap(9, .1)
w <- seq(0, 4, length.out = 128)
freqs(zp, w)


gsignal documentation built on Sept. 12, 2024, 6:27 a.m.