powered by
Plot the s-plane frequency response of an IIR filter.
freqs_plot(w, h, ...)
No return value
angular frequencies, specified as a positive real vector expressed in rad/second.
Frequency response, specified as a complex vector.
additional arguments passed to the plot() function
plot() function
Julius O. Smith III, jos@ccrma.stanford.edu. Conversion to R by Geert van Boxtel gjmvanboxtel@gmail.com
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")
Run the code above in your browser using DataLab