Mathematics |
Comparing Interpolation Methods
This example compares two-dimensional interpolation methods on a 7-by-7 matrix of data.
Notice that the bicubic method, in particular, produces smoother contours. This is not always the primary concern, however. For some applications, such as medical image processing, a method like nearest neighbor may be preferred because it doesn't generate any "new" data values.
Two-Dimensional Interpolation | Interpolation and Multidimensional Arrays |
© 1994-2005 The MathWorks, Inc.