Programmer Guide/Command Reference/EVAL/max: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import)
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
=====max=====
Returns the largest value found in the arguments.


Returns the largest value found in the parameters.
;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


=====Usage:=====
;Result: The result is the maximum value found in the arguments.


<code>max(<var>x</var>)</code>
;See also: [[Programmer_Guide/Command_Reference/EVAL/imax|imax]], [[Programmer_Guide/Command_Reference/EVAL/absmax|absmax]], [[Programmer_Guide/Command_Reference/EVAL/min|min]],


<code>max(<var>x0</var>,<var>x1</var>,...,<var>xN</var>)</code>
[[Programmer_Guide/Command_Reference/EVAL#Functions|<function list>]]
 
=====Parameters:=====
 
;<var>x, xN</var>
 
:A scalar, vector or matrix.
 
=====Return Type:=====
 
scalar

Revision as of 10:40, 4 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
Result
The result is the maximum value found in the arguments.
See also
imax, absmax, min,

<function list>

Navigation menu

Personal tools