10-01-2007 08:24 PM
10-02-2007 04:40 AM
10-02-2007 08:19 AM
10-02-2007 07:56 PM
10-04-2007 03:04 AM
10-04-2007 09:14 AM
The high freq spikes look to be maybe 15x-20x the freq of the low freq sine wave. This is good news. You should be able to tweak your filter parameters to fully pass your low freq signal while highly attenuating the high freq signal. There are shipping examples that give you a chance to play around and observe the effects of several of the filter parameters and a few of the filter types.
One little tidbit to mention is that median filtering has the unique (I think) property of not inducing phase shift. It can work terrifically well in certain situations (it tends to preserve sharp-edged transients rather than rounding them off), but it may not be as good a choice for your case.
Finally, the discussion is getting into filter details but your original post sounded like your goal is not so much to keep the low freq sine while rejecting the high freq, but to reject both and characterize the average DC level. What aspect of the signals you've posted interest you? Just the average DC level? Or do you need to know the amplitude and/or freq of the sine waves?
Depending on your answers, there may be better approaches than just filtering...
-Kevin P.
10-04-2007 01:40 PM
10-04-2007 10:02 PM
10-05-2007 08:46 AM - edited 10-05-2007 08:46 AM
Message Edited by johnsold on 10-05-2007 09:47 AM
10-06-2007 07:54 PM