Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: 8th order Butterworth not working? :-( :-(
Replies: 1   Last Post: Jun 23, 2011 1:25 PM

 Messages: [ Previous | Next ]
 Peter Mairhofer Posts: 41 Registered: 8/18/10
8th order Butterworth not working? :-( :-(
Posted: Jun 23, 2011 12:10 PM

Hi,

I am trying to simulate a system which uses an 8th order low pass. But
instead of a flat band, I only get noise. This is the simple code:

fnyq = 10e9;
L = 195;
N = 100000;
[b5,a5] = butter(5, 1/L);
[b7,a7] = butter(7, 1/L);
[b8,a8] = butter(8, 1/L);
[h5,f] = freqz(b5, a5, N);
[h7,f] = freqz(b7, a7, N);
[h8,f] = freqz(b8, a8, N);
plot(linspace(0, fnyq, N), 20*log10(abs([h5 , h7 , h8])));
xlim([0, fnyq/L * 3]);
legend('5 order', '7 order', '8 order');

And this is the result:

http://imageshack.us/photo/my-images/807/unledtli.png/

5th order works fine, 7th order has some noise and 8th order (which I
would need) is completely useless!

Unfortunately I need to simulate an 8th order Butterworth (and not Cauer
etc.) so I have no chance :(

Any hints?

Regards,
Peter

Date Subject Author
6/23/11 Peter Mairhofer
6/23/11 Wayne King