Command Reference : Matrix Language Reference
  
 
@imax
Syntax: @imax(o)
Argument: vector or series, o
Return: scalar
Returns a scalar containing the index of the maximum of the series or vector. The series version uses the current workfile sample. Example:
scalar s1 = @imax(ser1)