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

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 件のコメント

Jürgen
Jürgen 2012 年 8 月 23 日
Hi, for me there is not enough information in your question to help you, which function do you want to integrate? regards,J

サインインしてコメントする。

回答 (1 件)

Honglei Chen
Honglei Chen 2012 年 8 月 23 日

0 投票

There are many Lagrange interpolation resources available online, just Google it. For example

2 件のコメント

Durgesh
Durgesh 2012 年 8 月 23 日
thanks for response. now i am sending the complete information. i am waiting your response. thanks durgesh
Honglei Chen
Honglei Chen 2012 年 8 月 23 日
Can you show the code you have tried?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeInterpolation についてさらに検索

タグ

タグが未入力です。

質問済み:

2012 年 8 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by