Extrema
Aucune licence
MY_extrema finds positions of extrema in each column of matrix "mat" and returns "pos_extr" matrix of the same size as "mat" with -1 at the minima's position, 1 at the maxima's position, 0 lsewhere. The search takes results from the test of the sign hange in the corresponding derivation of the "mat". The search technique is adapted for fft specta as the function argument.The pectrum repetition of "mat" is taken into account y extrema test on the edges. The script does not deal with NaN.
In case of flat extrema, the last position on the flat is treated.
Citation pour cette source
Leo Ka (2024). Extrema (https://www.mathworks.com/matlabcentral/fileexchange/23914-extrema), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Signal Processing > Signal Processing Toolbox > Measurements and Feature Extraction > Descriptive Statistics >
Tags
Remerciements
Inspiré par : extrema.m, extrema2.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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 |