forum.alglib.net
http://forum.alglib.net/

Which Filter to Use
http://forum.alglib.net/viewtopic.php?f=2&t=78
Page 1 of 1

Author:  Eng1 [ Thu Oct 14, 2010 10:39 pm ]
Post subject:  Which Filter to Use

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?

Author:  Sergey.Bochkanov [ Fri Oct 15, 2010 4:43 am ]
Post subject:  Re: Which Filter to Use

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.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/