[R] Butterworth low-pass filter

Andy Bunn abunn at whrc.org
Fri Dec 16 17:31:32 CET 2005


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




More information about the R-help mailing list