Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.0 - English

Change language to:
Français - 日本語 - Português - Русский

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

Scilab Help >> Differential calculus, Integration > intsplin


integration of experimental data by spline interpolation


v = intsplin(y)
v = intsplin(x, y)



Vector of increasing real abscissae. It must have the length of y. Default values are 1:size(y,'*').


vector of real or complex ordinates.


value of the integral. If y are complex numbers, the real and imaginary parts are integrated separately.


Let f be a function defined at some given sampled experimental points (xi, yi=f(xi)).

intsplin computes an approximate of integral{f(x).dx} from x0=x(1) to x1=x($).

Between given points, f is approximated using a spline interpolation.


t = 0:0.1:%pi

intsplin(1:5)            // 12

x = 0:0.1:0.4;
intsplin(x, 1:5)         // 1.2

intsplin((1:5)*%i)       // 12i
intsplin(x, (1:5)*%i)    // 1.2i
intsplin(x, x+(1:5)*%i)  // 0.08 + 1.2i

See also

  • intg — definite integral
  • integrate — integration of an expression by quadrature
  • inttrap — integration of experimental data by trapezoidal interpolation
  • splin — cubic spline interpolation
Report an issue
<< intl Differential calculus, Integration inttrap >>

Copyright (c) 2022-2024 (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:
Tue Feb 25 08:49:18 CET 2020