2K download
Aggiornato
13 giu 2003
Nessuna licenza
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;
Cita come
Schuberth Schuberth (2026). findextrema.m (https://it.mathworks.com/matlabcentral/fileexchange/3586-findextrema-m), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R12
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Mathematics > Interpolation >
Scopri di più su Interpolation in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato: Impulsive Noise Meter, Reverberation Time Calculator
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
