2K Descargas
Actualizado
13 jun 2003
Sin licencia
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;
Citar como
Schuberth Schuberth (2026). findextrema.m (https://la.mathworks.com/matlabcentral/fileexchange/3586-findextrema-m), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R12
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Mathematics > Interpolation >
Más información sobre Interpolation en Help Center y MATLAB Answers.
Etiquetas
Agradecimientos
Inspiración para: Impulsive Noise Meter, Reverberation Time Calculator
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
