插值练习--样条插值与最小二乘拟合2010年10月27日.docVIP

插值练习--样条插值与最小二乘拟合2010年10月27日.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
214 5(2)和215(1)插值练习---样条插值和最小二乘拟合 x=[-1 0 1 3]; y=[13.6 1.38 0.49 0.15]; plot(x,y,+) subplot(2,2,1) plot(x,log(y),+) p=polyfit(x,log(y),1) p1=exp(p(2)) y1=p1*exp(p(1)*x); subplot(2,2,2) plot(x,y,+,x,y1,ro) subplot(2,2,3) plot(x,y.^(-1/2),+) p2=polyfit(x,y.^(-1/2),1) y2=(p2(1)*x+p2(2)).^(-1/2); subplot(2,2,4) plot(x,y,+,x,y2,ro) t=1:24; p=[58 58 58 58 57 57 57 58 60 64 67 68 66 66 65 64 63 63 62 61 60 60 59 58]; t1=1:1/6:24; p1=interp1(t,p,t1,spline) p1 = Columns 1 through 3 58.0000 58.0235 58.0342 Columns 4 through 6 58.0346 58.0273 58.0150 Columns 7 through 9 58.0000 57.9850 57.9727 Columns 10 through 12 57.9654 57.9658 57.9765 Columns 13 through 15 58.0000 58.0363 58.0752 Columns 16 through 18 58.1038 58.1093 58.0790 Columns 19 through 21 58.0000 57.8651 57.6896 Columns 22 through 24 57.4944 57.3005 57.1287 Columns 25 through 27 57.0000 56.9293 56.9072 Columns 28 through 30 56.9185 56.9480 56.9802 Columns 31 through 33 57.0000 56.9966 56.9779 Columns 34 through 36 56.9564 56.9446 56.9549 Columns 37 through 39 57.0000 57.0890 57.2183 Columns 40 through 42 57.3809 57.5700 57.7787 Columns 43 through 45 58.0000 58.2308 58.4824 Columns 46 through 48 58.7701 59.1088 59.5137 Columns 49 through 51 60.0000 60.5759 61.2224 Columns 52 through 54 61.9138 62.6244 63.3284 Columns 55 through 57 64.0000 64.6185 65.1835 Columns 58 through 60 65.6995 66.1712 66.6032 Columns 61 through 63 67.0000 67.3621 67.6732 Columns 64 through 66 67.9130 68.0610 68.0968 Columns 67 through 69 68.0000 67.7618 67.4199 Columns 70 through 72 67.0235 66.6218 66.2643 Columns 73 through 75 66.0000 65.8638 65.8324 Columns 76 through 78 65.8681 65.9331 65.9897 Columns 79 through 81 66.0000 65.9358 65.8060 Columns 82 through 84 65

文档评论(0)

lyxbb + 关注
实名认证
文档贡献者

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

1亿VIP精品文档

相关文档