MATLAB 中的 Hermite 插值多项式

发布于 12-14 19:30 字数 332 浏览 4 评论 0原文

任何人都知道我在 MATLAB 中哪里可以找到 Hermite 插值算法。哪种 Hermite 插值算法可以解决这个问题?

我需要计算一个多项式。示例(仅示例):

x=[1,2,3];

y=[0.5,1,12]

y'=[1,0.2,0.9]

y''=[0.1,0.6,0.8]

x2=[1,1.5,2,2.5,3,3.5];

polynom=hermit_interpolation(x,y,y',y'',x2); % i need the polynom to

y2=polyval(polynom,x2);

plot(x2,y2);

感谢您的回答。

Anyone know where i find the Hermite interpolation algorithm in MATLAB. Which Hermite interpolation algorithm solve this?

I need to calculate a polynom. Example (just example):

x=[1,2,3];

y=[0.5,1,12]

y'=[1,0.2,0.9]

y''=[0.1,0.6,0.8]

x2=[1,1.5,2,2.5,3,3.5];

polynom=hermit_interpolation(x,y,y',y'',x2); % i need the polynom to

y2=polyval(polynom,x2);

plot(x2,y2);

Thanks for any answers.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

云巢2024-12-21 19:30:09

该函数是 pchip(),它的示例很好地记录在:http://www.mathworks.com/help/techdoc/ref/pchip.html

The function is pchip(), which is documented nicely with examples at: http://www.mathworks.com/help/techdoc/ref/pchip.html.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文