forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 4:11 am

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Which Filter to Use
PostPosted: Thu Oct 14, 2010 10:39 pm 
Offline

Joined: Thu Oct 14, 2010 10:34 pm
Posts: 1
I have a waveform I need to filter that consists of 1Million discrete samples of what is predominantly a noisy sine wave that decends eventually into pure noise.
There are around 50 data points per sine cycle. Ideally I would like to band pass filter the signal without any attenuation.
What type of filter would be best?


Top
 Profile  
 
 Post subject: Re: Which Filter to Use
PostPosted: Fri Oct 15, 2010 4:43 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
Is it something like f(t) = sin(t*freq)*decay(t)? You said that it "decays" into noise.

If yes, and both frequency and this "decay" component are exactly known, you have linear problem. Try to use lsfitlinear() from lsfit subpackage.
Otherwise you have nonlinear problem; you have to parameterize both sin() and decay(), and to use lsfitcreatefg function to solve it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group