<< CL_intervInv Utilities CL_locationInfo >>

CelestLab >> Utilities > CL_intervUnion

CL_intervUnion

Union of sets of intervals

Calling Sequence

[ires] = CL_intervUnion(i1 [,i2,i3,...,ip])

Description

Parameters

i1:

Set of intervals [start ; end] (2xN)

i2:

Set of intervals [start ; end] (2xN2)

ip:

Set of intervals [start ; end] (2xNp)

ires:

Union of i1,i2...,iN (2xM)

See also

Authors

Examples

i1=[ [1;3] , [5;6] , [10;12]];
i2=[ [2;4] , [5.5;5.7] , [5.6;15]];
ires = CL_intervUnion(i1,i2);
<< CL_intervInv Utilities CL_locationInfo >>