comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to perform the 1-D signal filter?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to perform the 1-D signal filter? [message #58425] Fri, 01 February 2008 06:58 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<e9b5822c-2240-4937-ad85-a53f057d9ec0@p69g2000hsa.googlegroups.com>,
"duxiyu@gmail.com" <duxiyu@gmail.com> wrote:

> Dear all,
>
> Here I give a signal example and hope somone can show me how to
> perferm the frequency filter on it.
>
> ;creat a signal data with two peaks in frequency domain at 2 and 3 Hz.
> t=findgen(1000)/10.
> data=sin(2*!pi*2*t)+sin(2*!pi*3*t)
>
> freq=findgen(501)/100.
> v=fft(data)
> plot,freq,abs(v[0:500])^2,xtitle='frequency',ytitle='spectru m'
>
>
> I want to filter the signal with the frequency higher than 2.5 Hz. How
> do I do this?
>
> I have read the help files about Digital_Filter and Convol, but I do
> not know how to select the parameters for Signal_Filter.
>
> Du

You could look at the chapter on FFTs and digital filtering in my IDL
book (http://idl.tamu.edu). I wrote the chapter in part so that *I*
could refer to it whenever I need to do a digital filter. :-)

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: About IDLffDICOM
Next Topic: Re: county and urban shapefiles

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 04:51:35 PDT 2025

Total time taken to generate the page: 0.16252 seconds