Programmer Guide/Command Reference/EVAL/max: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
Returns the largest value found in the arguments. | Returns the largest value found in the arguments. | ||
;Usage: | ;Usage: <code>max(<var>x1</var> {, <var>x2</var> {, ...}})</code> | ||
:;<var>x1</var>, <var>x2</var>, ...: each argument can be a scalar, vector or matrix | :;<var>x1</var>, <var>x2</var>, ...: each argument can be a scalar, vector or matrix | ||
;Result: The result is the maximum value found in the arguments. | ;Result: The result is the maximum value found in the arguments. |
Latest revision as of 11:19, 21 April 2011
Returns the largest value found in the arguments.
- Usage
max(x1 {, x2 {, ...}})
- x1, x2, ...
- each argument can be a scalar, vector or matrix