Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
A handily simple function for a merging task:
Given N input closed intervals in bracket form:
Ii := [left(i),right(i)], i = 1,2...,N (mathematical notation).
The set union{Ii) can be written as a canonical partition by intervals Jk; i.e., union{Ii) = union(Jk), where Jk are M intervals (with M<=N, so the partition is minimum cardinal), and {Jk} are disjoint to each other (their intersections are empty).
This function returns Jk = [lower(k),upper(k)], k=1,2,...M, in the ascending sorted order.
Citation pour cette source
Bruno Luong (2026). Interval merging (https://fr.mathworks.com/matlabcentral/fileexchange/24254-interval-merging), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
A inspiré : Range intersection
Informations générales
- Version 1.2.0.0 (3,48 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.2.0.0 | Simplified engine for RangeIntersection |
||
| 1.1.0.0 | New feature, intersection of a set of interval-unions |
||
| 1.0.0.0 |
