beautypg.com

Yinterceptvalue – MTS Multipurpose Elite User Manual

Page 260

background image

XInterceptValue

YInterceptValue

The YInterceptValue returns the point where the line determined by the index values crosses the Y-Axis.

Returns

The index in to the arrays where the Y-intercept occurs.

Syntax

YInterceptValue(y-axis, x-axis, slope1Index, slope2Index)

Parameters

y-axis – The Y-Axis data array being analyzed.

x-axis – The X-Axis data array being analyzed.

Slope1Index – The starting index of the region used to calculate the straight line.

Slope2Index - The ending index of the region used to calculate the straight line.

Unit Class

Same as Y-Axis data.

Example

The following function returns the Y-Intercept of the line defined by Slope1 and Slope2.

YInterceptValue(_Load, _Extension, Slope1, Slope2)

260 | MTS TestSuite

Working with Variables