I've been searching all over but I can't seem to understand the following example provided on here back in 2009.
I'm trying to implement a simple low pass filter to a set of data in Matlab and this is the following example I was referred to here on SO. Link to example
xfilt = filter(a, [1 a-1], x);
where a = T/τ
, T
= the time between samples, and τ
(tau) is the filter time constant.
Now the coefficients are what are giving me the most trouble. Based off of the first order Laplace transfer function being the following:
(1/Ts) / (1 + (1/Ts))
where (1/Ts) = a
It would be great to know how the denominator coefficients were found for the function above.