Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - Русский -
Scilabヘルプ >> Interpolation > smooth

smooth

スプライン関数によるスムージング

呼出し手順

[pt]=smooth(ptd [,step])

パラメータ

ptd

(2xn) 実数ベクトル

step

実数 (横軸の刻み離散値)

pt

(2xn) 実数ベクトル

説明

この関数は,指定した点集合についてスプライン関数により補間を行います. 座標は,(ptd(1,i),ptd(2,i))です. 要素 ptd(1,:) は昇順とする必要があります. 刻みのデフォルト値は abs(maxi(ptd(1,:))-mini(ptd(1,:)))/100です.

x=[1 10 20 30 40];
y=[1 30 -10 20 40];
plot2d(x',y',[3],"011"," ",[-10,-40,50,50]);
yi=smooth([x;y],0.1);
plot2d(yi(1,:)',yi(2,:)',[1],"000");

参照

  • splin — 3次スプライン補間
  • interp — 3次スプライン評価関数
  • interpln — 線形補間
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:35:25 CEST 2016