Matlab hermite interpolation

5 ビュー (過去 30 日間)
Flatron
Flatron 2011 年 11 月 8 日
Hi,
Anyone know where i find the hermit interpolation algorithm in matlab. Wich hermite interpolation algoritm solve this?
I need to calculate a polynom.
Example(just example):
x=[1,2,3];
y=[0.5,1,12]
yprime=[1,0.2,0.9]
yprimeprime=[0.1,0.6,0.8]
x2=[1,1.5,2,2.5,3,3.5];
polynom=hermit_interpolation(x,y,yprime,yprimeprime,x2); i need the polynom to
y2=polyval(polynom,x2);
plot(x2,y2);
Thanks the asnwers.

回答 (1 件)

Jonathan
Jonathan 2011 年 11 月 10 日
Try 'edit pchip'.

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by