4D interpolation

2 ビュー (過去 30 日間)
Ronni
Ronni 2011 年 3 月 20 日
I was wondering if someone can help me with 4D interpolation. Basically, I have 8 sets of 3D data. For example mass =10 g has a 3D cartesian data associated with, then mass=40g has another set of data, and so on. I need to fill in the gaps so I can find data corresponding to mass =20 g, 30g and so on. Would 'interpn' work here?
  1 件のコメント
Andrew Newell
Andrew Newell 2011 年 3 月 21 日
If your 3D coordinates are the same for each mass, it might be easier to do a 1D interpolation for each coordinate.

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

採用された回答

Richard Crozier
Richard Crozier 2011 年 3 月 21 日
you could fit a 4D polynomial to the data using polyfitn from the file exchange (<http://www.mathworks.com/matlabcentral/fileexchange/10065-polyfitn>) and use this as the interpolation by evaluating it at your desired points.

その他の回答 (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