Revision e0dda8be37519e58387c2b9702479625e66b54ec authored by MSchonewille on 09 July 2019, 07:29:08 UTC, committed by GitHub on 09 July 2019, 07:29:08 UTC
1 parent a9f38bb
Raw File
filterit.m
function data=filterit(data,samplefreq,cutoff)

warning off;
buttercut=cutoff/(samplefreq/2);
[x,y]=butter(4,buttercut);
data=filtfilt(x,y,data);
warning on;
disp('filterit');

back to top