Santiago Barreda
Assistant Professor, Department of Linguistics, UC Davis

Main Research Vignettes CV phonTools Statistics Links


freqresponse [phonTools]

This function plots (and optionally returns) the frequency response for the digital filter whose transfer function is determined by the numerator and denominator filter coefficients given in b and a.


Code used to generate examples:

library (phonTools) ## generate a segment of the sinc function filt = sinc (seq (-5,5,.3), normalized = TRUE) par (mfrow = c(2,1), mar = c(4.1,4.1,1.1,1.1)) plot (filt, type = 'b') ## treat it as a low-pass FIR filter and inspect its frequency response freqresponse (filt, 1)