peakperformance

버전 1.0.0.0 (3.32 KB) 작성자: Peter O'Connor
Find local peaks in a signal
다운로드 수: 354
업데이트 날짜: 2012/5/2

라이선스 보기

Efficiently finds local maxima in a signal (NlogN time) - these are defined as points in which are the higher than any other point within a specified range.

Matlab's "findpeaks" has a slightly different definition in which peaks simply have to be spaced apart by some minimum distance, but do not have to be actual maxima in their region.

To see the difference:
x=cos(linspace(0,50,1000))+randn(1,1000)*.2;
[locs heights]=peakperformance(x,30); % Find all peaks that are the highest within 30 samples
[heights2 locs2]=findpeaks(x,'minpeakdistance',30);
clf; plot(x); hold all; plot(locs,heights,'*'); plot(locs2,heights2-.05,'*');
legend '' 'peakperformance' 'findpeaks'

인용 양식

Peter O'Connor (2024). peakperformance (https://www.mathworks.com/matlabcentral/fileexchange/36502-peakperformance), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0