-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > On Tue, 10 Aug 2010 08:19:32 -0700 (PDT), "kris duff" said: >> Hello, >> >> My colleage told me about a smoothing/lpf formula which is : >> >> a(n) =3D {a(n-1) * param + ADC} / {param + 1} >> >> which=20 >> ADC is the signal from adc >> a(n-1) is the result of the last call to this formula >> the param is the part I don't understand. >> >> Is there anybody knows where this formula comes from ? >> >> it seems to work well for smoothing, but I want to tweek the param ( >> which is certainly for the bandwith ) >> >> Thank you >=20 If I were you, I'd get reading =3D] A really good introduction is the book: "The Scientist and Engineers Guide to DSP". Chapter 14 onwards deals with digital filters. If you've not used DSP before I highly recommend that you read from the beginning. It's not hard work with that book--it's written so you can delve in straight away. The best part is it's free to view online: http://dspguide.com/ - --=20 Brendan Gillatt | GPG Key: 0xBF6A0D94 brendan {a} brendangillatt (dot) co (dot) uk http://www.brendangillatt.co.uk -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (MingW32) iEYEARECAAYFAkxjNW0ACgkQHEhZ5Ws5poFYeQCfTCQfb/pzb+LmCIkNiYu/7+h6 gzgAnjaHClwNyBBX7wFXMu+mHWzcgxjV =3D/ypv -----END PGP SIGNATURE----- --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .