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

4 ビュー (過去 30 日間)
Pranjal Pathak
Pranjal Pathak 2013 年 11 月 14 日
コメント済み: Pranjal Pathak 2013 年 11 月 14 日
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.
Pranjal Pathak
Pranjal Pathak 2013 年 11 月 14 日
Yeah, I want the interpolated matrix.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by