Method on @sym: min (a)
Method on @sym: min (a, b)
Method on @sym: min (a, [], dim)
Method on @sym: [r, I] = min (…)

Return minimum value of a symbolic vector or vectors.

Example:

min(sym(1), sym(2))
  ⇒ (sym) 1
m = min([1 sym(pi)/4 6])
  ⇒ m = (sym)
      π
      ─
      4
[m, I] = min([sym(1) 0 6])
  ⇒ m = (sym) 0
  ⇒ I = 2

See also: @sym/max.

Package: symbolic