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

Home » Public Forums » archive » 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
How to perform the 1-D signal filter? [message #58441] Fri, 01 February 2008 02:20 Go to previous message
duxiyu@gmail.com is currently offline  duxiyu@gmail.com
Messages: 88
Registered: March 2007
Member
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: explain THIS one
Next Topic: Re: Interesting Workbench Experience

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

Current Time: Thu Oct 09 17:23:51 PDT 2025

Total time taken to generate the page: 1.28030 seconds