HOME > テクニカルサポート > 製品 一覧 > SigmaPlot > ユーザーガイド > トランスフォーム関数一覧
ヒューリンクステクニカルサポート
皆様からのご質問のうち、よくある質問を掲載しました。
更新日: 14/05/08

interpolate

関数 interpolate は、x rangey range で定義される一連の XY のペアに対して線形補間を実行します。x range の最小値から最大値の値で補間した y 値の範囲を返します。

 

構文

interpolate(x range, y range, range)

引数 x range は、厳密に昇順もしくは降順に指定する必要があります。

引数 range には、1つの範囲 ({} で指定) 、もしくは、ワークシートの1列を指定します。引数 x range, y range に欠損値や文字列を含めることはできません。範囲内にある文字列は、欠損値に置き換えられます。

外挿はできません。引数 rangex range の最小値より小さい値や、x range の最大値より大きい値を指定すると 欠損値の記号が返されます。

 

 

interpolate

The interpolate function performs linear interpolation on a set of X,Y pairs defined by an x range and a y range. The function returns a range of interpolated y values from a range of values between the minimum and maximum of the x range.

Syntax

interpolate(x range,y range,range)

Values in the x range argument must be strictly increasing or strictly decreasing.

The range argument must be a single range (indicated with the {} brackets) or a worksheet column. Missing values and text strings are not allowed in the x range and y range. Text strings in range are replaced by missing values.

Extrapolation is not possible; missing value symbols are returned for range argument values less than the lowest x range value or greater than the highest x range value.

Example

For x = {0,1,2}, y = {0,1,4}, and range = data(0,2,.5) (this data operation returns numbers from 0 to 2 at increments of 0.5), the operation col(1) = interpolate(x,y,range) places the range {0.0,0.5,1.0,2.5,4.0} into column 1.

If range had included values outside the range for x, missing values would have been returned for those out-of-range values.

 

前のページにもどる