Hello
I am trying to create a low pass filter. My device has a sample rate of 100 and the cutoff value should be 10 Hz.
But according to the manual the filter should also have a setting "number of coefficients". And this should be 40 in my case…
How can I implement the number of coefficients into the filter?
Thanks.
My Code:
Fs = 100;Fco = 10;Fn = Fs/2;Wn = Fco/Fn;[b,a]=butter(1,Wn,'low')m_filtered=filter(b,a,m)
Best Answer