findextrema.m

버전 1.0.0.0 (497 Bytes) 작성자: Schuberth Schuberth
Finds minima and maxima of data.
다운로드 수: 2K
업데이트 날짜: 2003/6/13

라이선스 없음

FINDEXTREMA - finds minima and maxima of data

If 'y' is the data the function finds the maximas 'ma' and minimas 'mi'.
The x-position of the extrema are interpolated.

Usage: [ma,mi]=findextrema(y);

Example:
x=-10:0.1:10; y=sin(x);
[ma,mi]=findextrema(y);
plot(y); hold on; plot(ma,y(round(ma)),'ro'); plot(mi,y(round(mi)),'gs'); hold off;

인용 양식

Schuberth Schuberth (2026). findextrema.m (https://kr.mathworks.com/matlabcentral/fileexchange/3586-findextrema-m), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R12
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Interpolation에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.0.0.0