フィルターのクリア

3D interpolation with interp3

9 ビュー (過去 30 日間)
Rafet
Rafet 2014 年 9 月 20 日
回答済み: Matt J 2014 年 9 月 20 日
Hi,
I have three dimensional scattered data and want to interpolate my data on X-Y-Z space, but when I use 'spline' method or 'cubic' method matlab error occurs:
"Insufficient finite values to interpolate."
It says that I must have at least 4 points in each dimension and I have, then where is the problem?
My gridmesh is 21x21x21 and I have 4 sample points in X, Y and 21 sample points in Z for each X,Y.
Thanks,
Rafet

採用された回答

Matt J
Matt J 2014 年 9 月 20 日
interp3 isn't meant for scattered data. You should be using scatteredInterpolant.

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