1D interpolation in nearest, linear or spline mode
scilab-2024.1.0 Scilab HelpInterpolationbezierbsplin3valcshep2deval_cshep2dinterpinterp1interp2dinterp3dinterplnlinear_interpnlsq_splinmesh2dsmoothsplinsplin2dsplin3d Change language to: Français - 日本語 - Português - Русский Scilab Help >> Interpolation > interp1 1D interpolation in nearest, linear or spline mode Syntax yp = interp1(y, xp)yp = interp1(x, y, xp)yp = interp1(.., xp, method)yp = interp1(.., xp, method, extrapolation) Arguments x vector of at least 2 real numbers: Abscissas of known interpolation nodes, without duplicates. By default, if y is a vector: x=1:length(y). if y is a matrix or an hypermatrix: x=1:size(y,1). y vector, matrix or hypermatrix of real or complex numbers: values at known interpolation nodes, at the corresponding x abscissas. if y is a vector, x and y must have the same length. if y is a matrix or an hypermatrix, we must have length(x)==size(y,1). Each column of y is then interpolated versus the same x abscissas, for the given xp. xp scalar, vector, m...