pls i need a code that can be used to detect the peak of signal (peak detector)
이전 댓글 표시
pls i need a code that can be used to detect the peak of signal (peak detector)
답변 (4개)
Wayne King
2013년 6월 19일
0 개 추천
Do you have the Signal Processing Toolbox, have you looked at findpeaks()?
bala sadiq
2013년 6월 19일
0 개 추천
댓글 수: 1
Jan
2013년 6월 19일
You'd have to buy this toolbox from MathWorks.
Jan
2013년 6월 19일
0 개 추천
Did you search in the FileEchange already?
You find a very large number of solutions for standard and non-standard problems there.
댓글 수: 4
bala sadiq
2013년 6월 20일
편집: bala sadiq
2013년 6월 20일
Jan
2013년 6월 20일
If it works, accepting the answer would be a signal for others, that you do not need further suggestion.
bala sadiq
2013년 6월 20일
Chinnaiah Golla
2014년 11월 5일
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
2013년 6월 20일
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.
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!