[R] Butterworth low-pass filter

From: Andy Bunn <abunn_at_whrc.org>
Date: Sat 17 Dec 2005 - 03:31:32 EST


Has anybody implemented code to extract coefficients for a Butterworth low-pass filter? I know Matlab has it implemented in the signal toolbox. I want to make use of a 10 point Butterworth low-pass filter for smoothing.

In Matlab the code would look like this:
% Determine the filter coefficients

[b,a]=butter(10,0.1)
% Apply the filter to the input

outdata = filter (b,a,indata);

The archives contain similar questions but if somebody responded, they did it off-list.

Thanks in advance,
Andy



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Dec 17 03:54:15 2005

This archive was generated by hypermail 2.1.8 : Sat 17 Dec 2005 - 04:33:37 EST