Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Anyone know where I can find the Hermite interpolation algorithm in MATLAB. Which Hermite interpolation algorithm solves this?

I need to calculate a polynomial. 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.

share|improve this question

1 Answer 1

There is the pchip command documented here.

share|improve this answer
    
Note that pchip() is a method for specific variety of cubic Hermite interpolation. I gave a discussion here. –  J. M. Dec 28 '11 at 3:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.