Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

spline

Status
Not open for further replies.

tzzdvd

Computer
Joined
Jan 7, 2002
Messages
2
Location
IT
I have a problem with the spline function.
I'd want to know the continouos function that interpolates my datas in order to calculate the intermediate values between two datas

ex.

x=[50 100 150]
y=[300.12 302.24 306.08]
f=spline(x,y)


What is the value of f(60.35) without adding any datas to the starting variables and without changing the step of interpolation?

Is there a function that help me?
 
f=interp(x,y,60.35,'spline') should work fine

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top