Low pass filter software?

前端 未结 2 503
误落风尘
误落风尘 2020-12-04 16:59

I\'m looking for digital low pass filter code/library/class for a .net windows forms project, preferably written in c, c++ or c#. I probably need to set the number of poles,

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-04 17:37

    Ok, I found out how to get the coefficients you used. I downloaded Octave for windows and ran the butter command (as in MatLab) like this:

    [b,a] = butter(3, .4, 'low')

    Now I can use this code with other fs and fc parameters.

提交回复
热议问题