Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - Français

Change language to:
English - 日本語 - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Aide Scilab >> Interpolation > interpln

interpln

interpolation linéaire

Séquence d'appel

[y]=interpln(xyd,x)

Paramètres

xyd

matrice à deux lignes (coordonnées x et y des points)

x

vecteur des abscisses

y

vecteur des ordonnées

Description

étant donné xyd un ensemble de points dans le plan avec des abscisses croissantes et x un ensemble d'abscisses, cette fonction renvoie dans y les ordonnées correspondantes, calculées par interpolation linéaire.

Exemples

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

Voir aussi

  • splin — cubic spline interpolation
  • interp — cubic spline evaluation function
  • smooth — interpolation par une spline
<< Interpolation Interpolation intsplin >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:10:40 CEST 2011