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 |
||
(One intermediate revision by the same user not shown) | |||
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: <code>max(<var>x1</var> {, <var>x2</var> {, ...}})</code> | |||
;Usage: | |||
:;<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. | ||
;See also: [[../imax|imax]], [[../absmax|absmax]], [[../min|min]], | |||
[[../#Functions|<function list>]] | |||
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