iso6487
Filters a signal with an ISO6487 filter.
Syntax
y = iso6487(x,fs,cfc)
Inputs
- x
- The signal to be filtered. If x is a matrix, each column is filtered.
- fs
- The sampling frequency.
- cfc
- The channel frequency class of the filter (typically 60 or 180).
Outputs
- y
- The filtered signal.
Example
Filter a 100 Hz signal bi-directionally, sampled at 10,000 Hz, with a class 60 filter.
t = [0:0.0001:0.02];
input = sin(2*pi*100*t);
plot(t,input);
hold on;
output = iso6487(input, 10000, 60);
plot(t,output);
legend('input','output');
Comments
iso6487 is based on the ISO 6487 standard. It uses a bi-directional, second order low pass Butterworth filter with mirror padding. The cfc is approximately 60% of the 3dB cutoff frequency.
fs should be at least 10 times cfc.