Extract groups of data from a vector. For example:
x=[0 1 2 2 1 0 -1 1 3 5 3];
groupfind(x>0)
ans =
2 5
8 11
In this case, the first group is from indices 2 to 5 and the second is from indices 8 to 11.
Citation pour cette source
Manu R (2026). GROUPFIND (https://fr.mathworks.com/matlabcentral/fileexchange/1498-groupfind), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R12.1
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Data Distribution Plots dans Help Center et MATLAB Answers
Tags
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.1 | Updated license |
||
| 1.0.0.0 |
