The Math Forum

Search All of the Math Forum:

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

Math Forum » Discussions » Software » comp.soft-sys.matlab

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

Topic: Butterworth filter error
Replies: 1   Last Post: Nov 15, 2012 1:14 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 93
Registered: 11/30/09
Re: Butterworth filter error
Posted: Nov 15, 2012 1:14 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Jai Abhishekh " <> wrote in message <k837rf$hs8$>...
> Hello,
> I think I may have the most singular of problems.
> As everytime I try to run the butter filter, I get an error message saying

> >> butter(3,1)
> Error using butter (line 41)
> The cutoff frequencies must be within the interval of (0,1).
> Or
> iirchk() error.
> The code works well on other machines.

[z,p,k] = butter(n,Wn,'ftype')
[A,B,C,D] = butter(n,Wn,'ftype')
[z,p,k] = butter(n,Wn,'ftype','s')
[A,B,C,D] = butter(n,Wn,'ftype','s')

What you need is to read the help doc.

butter(3,1) is a all-pass filter, a meaningless filter.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.