min
Minimum elements of symbolic input
Syntax
Description
returns the
minimum elements of a symbolic input.M = min(A)
If
Ais a vector, thenmin(A)returns the minimum ofA.If
Ais a matrix, thenmin(A)is a row vector containing the minimum value of each column ofA.
For an input A that contains a symbolic expression, the
symbolic min function returns an unevaluated expression that excludes
elements in A that do not represent minimum values. The output might
have another argument that represents the condition for the symbolic variable. For
example, syms x; min([1 x]) returns the output min([1, x], [],
2, 'omitnan', ~in(x, 'real')) in the Command Window because
x is complex.

![min(A,[],1) column-wise operation](min_dim_1.png)
![min(A,[],2) row-wise operation](min_dim_2.png)