Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Looking for peak detection of absolute value curve code

Status
Not open for further replies.

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
 

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.
 

Peak Detection

i want to get the magnitude of the peak values using matlab.. i want the code...
 

Re: Peak Detection

what is your signal?
is it a function of time?
at first please write your function.
 

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
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top