Lagrange's Polynomial Interpolation

Interpolates a scalar or vector yp = f(xp) with given x and y = f(x) vectors and xp query

이 제출물을 팔로우합니다

Lagrange's Polynomial Interpolation based on weighted factors or Lagrange polynomials with sum = 1.
Example data:
x = [1 4 6 5]; % x vector
y = log(x); % y = f(x) vector
xp = 2 or xp = [2 3]; % x point(s) (scalar or vector) query
Use:
yp = Lagrangeinterp(x,y,xp)
to calculate
yp = f(x point) point(s) (scalar or vector)
[~,L] = Lagrangeinterp(x,y,xp)
to output the Lagrange polynomial cell array

인용 양식

Roche de Guzman (2026). Lagrange's Polynomial Interpolation (https://kr.mathworks.com/matlabcentral/fileexchange/94065-lagrange-s-polynomial-interpolation), MATLAB Central File Exchange. 검색 날짜: .

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0