DADiSP Worksheet Functions > Function Categories > Peak Analysis > VMAX

 

VMAX

Purpose:

Returns the maximum of one or more input arguments.

Syntax:

VMAX(val1, val2, ..., valN)

valN

-

One or more series or scalars.

Returns:

A real or series.

Example:

vmax(10, 15, 20)

 

returns 20.

Example:

vmax({1, 2, 3}, {0, 4, 2}, {0, 3, 8})

 

returns the series {1, 4, 8}.

Example:

W1:{{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}

W2: vmax(w1)

 

returns {7, 8, 9} the maximums of each column of W1.

Remarks:

VMAX with no input arguments uses the current Window.

 

VMAX is an SPL routine that accepts a variable number of input arguments.

See Also:

ARGV

MAX

MAXVAL

MIN

MINVAL

VAVGS

VMIN

VMEAN

VSUM

VSUMS