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: How to make this bandpass filter?
Replies: 5   Last Post: Feb 1, 2010 12:33 PM

Advanced Search

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

Posts: 12
Registered: 1/23/09
Re: How to make this bandpass filter?
Posted: Jan 31, 2010 8:25 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Wayne King" <> wrote in message <hk3tui$mf6$>...
> "Minimax " <> wrote in message <hk3j5m$j0k$>...
> > Good day!
> > I have the 3d matrix z500(latitude,longitude,time),
> > where
> > latitue=1:73
> > longitude=1:144
> > time=1:124 (here 31 days, because 4 timestep is 1 day)
> >
> > I need a bandpass filter that passes days from 1 to 5.
> >
> > How to make this bandpass filter?

> Hi, what makes you think you need a "bandpass filter" for this problem. Can you be more specific about what you're doing? To understand, you have a 73X144X124 matrix and you just want to extract the data corresponding to days 1 to 5? If that is the case and your data is Z, why can't you just do:
> NewData = Z(:,:,1:20);
> Wayne

Thank you for your help!
Yes, i have a 73X144X124 matrix and i want to apply for my data a bandpass filter
like below, but someone said that this code was incorrect.
i need it for get the filtered field of Z with periods (1<=T<=5 days).

[b,a] = butter(1,[ 1/(5*4) 1/(1*4) ],'stop');

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.