 |
MATLAB: Apply a low-pass or high-pass filter to an array - Stack Overflow
sure, look at the filter function. If you just need a 1-pole low-pass filter, it's xfilt = filter(a, [1 a-1], x); where a = T/τ, T = the time between samples, and τ (tau) is the filter time constant. Here's the corresponding high-pass filter: xfilt = filt
stackoverflow.com |
 |