freqs_plot {gsignal}R Documentation

Plot frequency response

Description

Plot the s-plane frequency response of an IIR filter.

Usage

freqs_plot(w, h, ...)

Arguments

w

angular frequencies, specified as a positive real vector expressed in rad/second.

h

Frequency response, specified as a complex vector.

...

additional arguments passed to the plot() function

Value

No return value

Author(s)

Julius O. Smith III, jos@ccrma.stanford.edu.
Conversion to R by Geert van Boxtel gjmvanboxtel@gmail.com

Examples

b <- c(1, 2); a <- c(1, 1)
w <- seq(0.01, 4, length.out = 128)
h <- freqs (b, a, w, plot = FALSE)
freqs_plot(w, h)
freqs_plot(w, h, log = "x")


[Package gsignal version 0.3-5 Index]