Programmer Guide/Command Reference/EVAL/min: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
;Usage: '''<code>min(<var>x1</var> {, <var>x2</var> {, ...}})</code>''' | ;Usage: '''<code>min(<var>x1</var> {, <var>x2</var> {, ...}})</code>''' | ||
:;<var>x1</var>, <var>x2</var>, ...: | :;<var>x1</var>, <var>x2</var>, ...: each argument can be a scalar, vector or matrix | ||
;Result: The result is the minimum value found in the arguments. | ;Result: The result is the minimum value found in the arguments. |
Revision as of 10:24, 4 April 2011
Returns the smallest value found in the arguments.
- Usage
min(x1 {, x2 {, ...}})
- x1, x2, ...
- each argument can be a scalar, vector or matrix
- Result
- The result is the minimum value found in the arguments.