Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: bandpass filter
Replies: 3   Last Post: Jan 30, 2010 9:18 AM

Advanced Search

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

Posts: 12
Registered: 1/23/09
bandpass filter
Posted: Jan 30, 2010 7:00 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello!
I have 3d series of z500[lat,lon,t],
where

lat=1:63 (latitude)
lon=1:144 (longitude)
t=1:1464 (time with 6 hours timestep)
1 day==4 timesteps

And I want to do a bandpass filter from 1 to 5 days.
I use the code:

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

Is this correct code?



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.