I'm looking for a digital/analog chebyshev low pass filter for a windows forms project, preferably in c#, c++ or c. A pseudocode would be helpful as well.
3 Answers
Here's a web app by Tony Fisher that computes the coefficients for digital filters (common FIR and IIR types), plots the filter magnitude and phase response, and even creates an ANSI C function template:
http://www-users.cs.york.ac.uk/~fisher/mkfilter
and also analog filter design:
The fact that the filter is Chebyshev just determines the filter coefficients. The actual implementation is pretty much independent of the coefficients. You need a decent filter design package to generate the coefficients (since the coefficients are dependent on the various filter parameters and the chosen sampling frequency), and then it's up to you how you implement the actual filter, but there are various standard forms.
You might want to get a decent DSP text book or two if you're serious about doing this kind of thing.
Here is an efficient c# code example chebyshev filter using NMath's fft. Generating the filter coefficients isn't hard and can easily be done w/ an on-line too or with a reference book.