pls i need a code that can be used to detect the peak of signal (peak detector)
Mostrar comentarios más antiguos
pls i need a code that can be used to detect the peak of signal (peak detector)
Respuestas (4)
Wayne King
el 19 de Jun. de 2013
0 votos
Do you have the Signal Processing Toolbox, have you looked at findpeaks()?
bala sadiq
el 19 de Jun. de 2013
0 votos
1 comentario
Jan
el 19 de Jun. de 2013
You'd have to buy this toolbox from MathWorks.
Jan
el 19 de Jun. de 2013
0 votos
Did you search in the FileEchange already?
You find a very large number of solutions for standard and non-standard problems there.
4 comentarios
bala sadiq
el 20 de Jun. de 2013
Editada: bala sadiq
el 20 de Jun. de 2013
Jan
el 20 de Jun. de 2013
If it works, accepting the answer would be a signal for others, that you do not need further suggestion.
bala sadiq
el 20 de Jun. de 2013
Chinnaiah Golla
el 5 de Nov. de 2014
In the above code you've used, 'locs' will contain the locations next to the detected peaks.
Have you observed it??
So, if you want to locate the peaks, try the below one...
stem(locs-1,peaks,'are'); % To display in a discrete manner
plot(locs-1,peaks,'are'); % To display in an analog manner
Image Analyst
el 20 de Jun. de 2013
Here's one that doesn't need any toolbox. Go to the web site indicated:
% Eli Billauer, 3.4.05 (Explicitly not copyrighted).
% http://billauer.co.il/peakdet.html
% This function is released to the public domain; Any use is allowed.
Categorías
Más información sobre Descriptive Statistics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!