Interpolation of an array of values having desired no. of points in between

3 次查看(过去 30 天)
I have an array of values (A here) of different dimension. I would like to interpolate it in Matlab in such a way that the number of interpolated points in between two consecutive points could be varied as required (for now say it is 4) and the original points are retained (remains same). It may be interpolated along horizontal first and then along vertical so that finally it is a square matrix.
A = {[3 5 8 9 1 4]; [1 6 9 2 5]; [6 7 8 9 10 12]; [2 5 1 3 4]; [1 2 4 6 8 9]; [3 1 4 5 8]};
I would like to request help in this regard.
Thanking You!
  2 个评论
ES
ES 2013-11-14
do you want the interpolated matrix somewhere? Because if you dont want, you could directly use interpolation functions (available in 1, 2, and 3 Dimensions) to directly drop in a key and get the associated value without actually having to save the big interpolated matrix somewhere.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by