beautypg.com

Xinterceptvalue – MTS Multipurpose Elite User Manual

Page 259

background image

Parameter

number – The number to be truncated.

Unit Class

Same the number.

Example

truncate(4.5) = 4

XInterceptValue

The XInterceptValue function returns X-Intercept of the least squares fit line calculated over the specified
region.

Returns

The X-Intercept from the least squares fit line.

Syntax

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

Parameters

y-axis – Y-Axis data array.

x-axis – X-Axis data array.

Slope1Index – The start index of the region.

Slope2Index – The end index of the region.

Unit Class

Same as X-Axis data.

Example

With the following function, the circled value on the X-Axis is returned.

XInterceptValue (_Load, _Extension, Slope1, Slope2)

MTS TestSuite | 259

Working with Variables