Max


Description

This function returns the maximum value from a set of values. This function can take up to 10 arguments.

Syntax

double Max(dataset vd)

Parameters

vd

A dataset or specified column in Origin worksheet.

Return

Return the maximum value from a set of values.


Example

dd=max(col(A));
dd=; // Should return the maximum value of column(A).
y = max(1, 2, 3, 4, 5, 6); 
y=; //Should return the maximum value of the dataset y.

See Also

Min, Mean, Total