Feb 23, 2008 #1 K kalais_eee Newbie level 2 Joined Feb 23, 2008 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,292 Want code to detect the peaks of absolute value curve
Feb 23, 2008 #2 FvM Super Moderator Staff member Joined Jan 22, 2008 Messages 52,513 Helped 14,760 Reputation 29,802 Reaction score 14,128 Trophy points 1,393 Location Bochum, Germany Activity points 298,484 Re: Peak Detection Do you have an analogous signal? Then absolute value and peak detector would require two or three OP. Peak detector could either have a return time constant or a reset switch.
Re: Peak Detection Do you have an analogous signal? Then absolute value and peak detector would require two or three OP. Peak detector could either have a return time constant or a reset switch.
Feb 23, 2008 #3 K kalais_eee Newbie level 2 Joined Feb 23, 2008 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,292 Peak Detection i want to get the magnitude of the peak values using matlab.. i want the code...
Feb 28, 2008 #4 M m_eh_62 Member level 2 Joined Mar 5, 2007 Messages 49 Helped 3 Reputation 6 Reaction score 0 Trophy points 1,286 Activity points 1,638 Re: Peak Detection what is your signal? is it a function of time? at first please write your function.
Re: Peak Detection what is your signal? is it a function of time? at first please write your function.
Feb 29, 2008 #5 M mowgli Full Member level 2 Joined Apr 5, 2002 Messages 147 Helped 34 Reputation 68 Reaction score 11 Trophy points 1,298 Activity points 1,348 Re: Peak Detection Dear kalais_eee if you want that somebody helps you you should be a little bit more polite! Instead of "I want ... I want..." would be better if you had used "Please, I would ... Thank you". Anyway, you could try a function which implements this pseudo code if(current value > StoredPeak) StoredPeak = CurrentValue else StoredPeak = StoredPeak * DecayConstant where choice of the decay constant depends on the application. Regards Mowgli
Re: Peak Detection Dear kalais_eee if you want that somebody helps you you should be a little bit more polite! Instead of "I want ... I want..." would be better if you had used "Please, I would ... Thank you". Anyway, you could try a function which implements this pseudo code if(current value > StoredPeak) StoredPeak = CurrentValue else StoredPeak = StoredPeak * DecayConstant where choice of the decay constant depends on the application. Regards Mowgli