Butterworth low-pass filter

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Butterworth low-pass filter

Andy Bunn
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

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html