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);.
stackoverflow.com