Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
Purpose: Range/interval intersection
A and B two ranges of closed intervals written
as vectors [lowerbound1 upperbound1 lowerbound2 upperbound2]
or as matrix
[lowerbound1, lowerbound2, lowerboundn;
upperbound1, upperbound2, upperboundn]
A and B have to be sorted in ascending order
out is the mathematical intersection A n B
EXAMPLE USAGE:
>> out=range_intersection([1 3 5 9],[2 9])
out = [2 3 5 9]
>> out=range_intersection([40 44 55 58], [42 49 50 52])
out = [42 44]
Zitieren als
Xavier Xavier (2026). Range intersection (https://de.mathworks.com/matlabcentral/fileexchange/31753-range-intersection), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert von: Interval merging
Allgemeine Informationen
- Version 1.10.0.0 (1,63 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.10.0.0 | Major modification and bug fixing |
||
| 1.9.0.0 | Correction of an error in the input description |
||
| 1.0.0.0 |
