Mean1

Returns the integral of the supplied vector between the ranges specified by arguments 2 and 3 divided by the span (= arg 3 -arg 2). If the values supplied for argument 2 and/or 3 do not lie on sample points, second order interpolation will be used to estimate y values at those points.

Arguments

Number Type Compulsory Default Description

1

real

Yes

Input vector

2

real

No

Start of input vector

start x value

3

real

No

End of input vector

end x value

Returns

Return type: real