Why does cubic interpolation give values that are outside the data range?

I basically want to plot temperature against latitude and longitude.I have heard that cubic interpolation gives negative values and since temperature cannot be negative i wanted to know which interpolation to use?

Answers (2)

Linear interpolation does not create values outside the range given by the measurement.

1 Comment

But what is the difference between these methods.Which algorithms do they use and is linear really suited for my problem?

Sign in to comment.

Categories

Find more on Interpolation in Help Center and File Exchange

Asked:

on 14 Feb 2013

Community Treasure Hunt

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

Start Hunting!