2K téléchargements
Mise à jour
13 juin 2003
Aucune licence
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;
Citation pour cette source
Schuberth Schuberth (2026). findextrema.m (https://fr.mathworks.com/matlabcentral/fileexchange/3586-findextrema-m), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R12
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Mathematics > Interpolation >
En savoir plus sur Interpolation dans Help Center et MATLAB Answers
Tags
Remerciements
A inspiré : Impulsive Noise Meter, Reverberation Time Calculator
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
