分段线性插值法求插值.doc

  1. 1、本文档共9页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
分段线性插值法求插值

分段线性插值法求插值 摘要 本文根据题目的要求,利用分段线性插值法对采样点和样本值进行插值计算。为了更好的评断模型的优化性,我们同时采用了最近点插值,3次多项式插值和3次样条插值法来处理同样的问题,作为分段线性插值方法的参考模型。根据插值函数计算区间内任意取样点的函数值。最后再利用所得函数值画出相应的函数图象,并与原函数g(x)的图象进行对比。 通过对本题四个问题的解答,并观察对比函数图象我们得到了如下两个重要 的结论: (1)在同一取样点,利用不同的插值方法可能会得到不同的函数值,所得函数值与原函数的标准函数值的误差大小决定了该插值方法的“好坏”。而最优化的插值方法往往依赖于被插值函数。本题中,在函数式g(x)对应X,Y的条件下,可以根据对比函数图象明显看出:分段线性插值方法和3次多项式插值方法优于3次样条插值和最近点插值。 (2)在插值计算中,取样点的多少往往会影响所得插值函数优化程度。一般情况下,取样点越多所得插值函数越优化,对应的函数值与标准函数值越接近。通过对本题四个问题相应对比函数图象的观察,我们也明显看出:在区间[-6 6]内,当取样点为21,41时,分段线性插值法进行插值计算得到的函数图象基本上与原函数g(x)吻合。 Abstract In this article ,we use piecewise linear interpolation to compute the sampling point and sample value according to the request of question. In order to judge the models quality in a better way, we use nearest interpolation, cubic interpolation and spline interpolation regarded as the model reference of piecewise linear interpolation to deal the question in the same way at the same time. Then draw the function picture by function value of any sampling point in the interval of interpolating function. Finally, we make a comparison between the original function g(x) image and the interpolating function image. At the base of analysing the final result and comparing the constrastive image . We can summarize two items of important conclusion as follows: At the same sampling point , different interpolating method can obtain different function value. Usually , the optimization algorithm depends on the size of error between the object function value . When processing interpolating compute , the number of the sampling point will make an effect on the quality of a model. Commonly, the more multitudinous the sampling points were used ,the more precise the interpolation model will be . 目录 问题的重述……………………………………………… 1 问题的分析……………………………………………… 1 三.问题的假设……………………………………………… 1 四.分段线性插值原理……………………………………… 2 五.问题的求解……………………………………………… 2 六.插值方法的优劣性分析………………………………… 5 附录…………………………………………………………… 6 一.问题的重述 已知,用分段线性插值法求插值,绘出插值结果图形,并观察插值误差。 1.在[-6,6]中平均选取5个点作插值 2.在[-6,6]

文档评论(0)

zhuliyan1314 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档