Click here to Skip to main content
16,006,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Low-pass filter questions Pin
jeremie.delaitre19-Jun-08 23:22
jeremie.delaitre19-Jun-08 23:22 
AnswerRe: Low-pass filter questions Pin
Nelek20-Jun-08 0:29
protectorNelek20-Jun-08 0:29 
QuestionRe: Low-pass filter questions Pin
jeremie.delaitre20-Jun-08 2:49
jeremie.delaitre20-Jun-08 2:49 
AnswerRe: Low-pass filter questions Pin
Nelek20-Jun-08 3:09
protectorNelek20-Jun-08 3:09 
GeneralRe: Low-pass filter questions Pin
jeremie.delaitre20-Jun-08 3:23
jeremie.delaitre20-Jun-08 3:23 
Answerhttp://www.musicdsp.org Pin
div!sion20-Jun-08 0:24
div!sion20-Jun-08 0:24 
GeneralRe: http://www.musicdsp.org Pin
jeremie.delaitre20-Jun-08 3:10
jeremie.delaitre20-Jun-08 3:10 
AnswerRe: Low-pass filter questions Pin
cp987620-Jun-08 0:55
cp987620-Jun-08 0:55 
jeremie.delaitre wrote:
The sampling rate of my data is not constant (for example, I get a value at 1s, then 1.2s, then 1.8s...).


In that case you have to think very carefully what your data actually represents, and it is not clear from your post. Applying any of the standard linear filtering techniques will cause the amplitude of the signal to increase in areas where there are more samples, this is a simple consequence of linearity. The standard filters, like the ones you mention, are defined in the frequency domain, so there is an inherent assumption of linearity.

It may help your thinking to consider what should happen if you add a second sample very close to one of your existing ones. If you would expect the effect of this to be almost identical to doubling the amplitude of the original sample, then proceeed with the linear filtering option.

If you expect the effect of a second sample to simply increase the certainty with which you know the sample value, then what you really want is some form of curve fitting, and for this numerical recipes would be a good starting point.

Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

GeneralRe: Low-pass filter questions Pin
jeremie.delaitre20-Jun-08 3:01
jeremie.delaitre20-Jun-08 3:01 
GeneralRe: Low-pass filter questions Pin
Nelek20-Jun-08 3:12
protectorNelek20-Jun-08 3:12 
QuestionTerminal Server [modified] Pin
subramanyeswari19-Jun-08 19:53
subramanyeswari19-Jun-08 19:53 
AnswerRe: Terminal Server Pin
Naveen19-Jun-08 21:38
Naveen19-Jun-08 21:38 
GeneralRe: Terminal Server Pin
subramanyeswari19-Jun-08 22:58
subramanyeswari19-Jun-08 22:58 
GeneralRe: Terminal Server [modified] Pin
subramanyeswari20-Jun-08 0:18
subramanyeswari20-Jun-08 0:18 
AnswerRe: Terminal Server Pin
KarstenK20-Jun-08 3:20
mveKarstenK20-Jun-08 3:20 
GeneralRe: Terminal Server Pin
subramanyeswari20-Jun-08 3:52
subramanyeswari20-Jun-08 3:52 
QuestionSIP API for Video C.onferencing Pin
am 200919-Jun-08 18:59
am 200919-Jun-08 18:59 
AnswerRe: SIP API for Video C.onferencing Pin
Rajesh R Subramanian19-Jun-08 19:57
professionalRajesh R Subramanian19-Jun-08 19:57 
Questionhow can i generate a Enhanced- metafile for a word document Pin
vicky0000019-Jun-08 17:47
vicky0000019-Jun-08 17:47 
AnswerRe: how can i generate a Enhanced- metafile for a word document Pin
kcynic19-Jun-08 22:48
kcynic19-Jun-08 22:48 
QuestionCEvent followup... Pin
bulg19-Jun-08 11:47
bulg19-Jun-08 11:47 
QuestionRe: CEvent followup... Pin
CPallini19-Jun-08 21:12
mveCPallini19-Jun-08 21:12 
AnswerRe: CEvent followup... Pin
KarstenK20-Jun-08 3:23
mveKarstenK20-Jun-08 3:23 
QuestionActiveX - works on the machine I used to compile it on- doesn't work else where Pin
simon alec smith19-Jun-08 11:29
simon alec smith19-Jun-08 11:29 
AnswerRe: ActiveX - works on the machine I used to compile it on- doesn't work else where Pin
Stephen Hewitt19-Jun-08 14:15
Stephen Hewitt19-Jun-08 14:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.