Method on @infsup: subsref (A, IDX)
Operator on @infsup: A(I)
Operator on @infsup: A(I1, I2)
Operator on @infsup: A.P

Select property P or elements I from interval array A.

The index I may be either : or an index array. The property P may correspond to any unary method of the interval’s class, but usually is either inf or sup.

x = infsup (magic (3), magic (3) + 1);
x (1)
  ⇒ ans = [8, 9]
x (:, 2)
  ⇒ ans = 3×1 interval vector
      [1, 2]
      [5, 6]
     [9, 10]
x.inf
  ⇒ ans =
     8   1   6
     3   5   7
     4   9   2

See also: @infsup/subsasgn, @infsup/end.

Package: interval