please help me to write matlab code for lagrange interpolation for order 1 through 3.

16 次查看(过去 30 天)
please help me to write matlab code for lagrange interpolation for order 1 through 3.
Given the data
x 1 2 2.5 3 4 5 f(x) 0 5 7 6.5 2 0
Calculate f(3.4) using Lagrange interpolating polynomials of order 1 through 3. Choose the sequence of the oints for your best possible accuracy.

回答(1 个)

Honglei Chen
Honglei Chen 2012-8-23
There are many Lagrange interpolation resources available online, just Google it. For example

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by