vinniefalco / DSPFilters

A Collection of Useful C++ Classes for Digital Signal Processing
1.87k stars 380 forks source link

Even order butterworth lowpass has nan for b coefficients. #46

Closed squinkylabs closed 6 years ago

squinkylabs commented 6 years ago

I took the "hello world" from the readme and converted chebychev to butterworth. If the order is any even number the b coeficcients are nan, and of coure processing doesn't work, and even getPoleZeros asserts.

the enclosed image shows this. filter

squinkylabs commented 6 years ago

Oops - I see my silly mistake now!