getRMS Function

Purpose:

Returns the root mean square a numeric array.

Syntax:

getRMS(array)

getRMS(array,base,step)

Comments:

Returns the rms.  When an array is packed with say 2 values,  eg, x1,y1,x2,y2 base and step can be used.  This allows you to process only the y values in the array, not procesing the whole array.  The rms value is the square root of the sum of squares.

Example:

ii = 1,2,8,13

p getRMS(ii)

7.7136