Clear Filters
Clear Filters

Alternative ways for 2D spline interpolation of scattered data

4 views (last 30 days)
Hello,
I have scattered data and I use this for interpolation in order to find corresponding values like below. I used all the methods in griddata and have no idea which gives me most reliable results. I also used scatteredInterpolant. What is your suggestion? What are the difference between those methods and which are more reliable?
a=data(:,1)
b=data(:,2)
c=data(:,3)
x=griddata(a,b,c,y,z)
I calculate y and z values and would like to find corresponding x values. For example; in my data
a=3.8 b=0.01 c=2
a=5 b=0.07 c=4
and I calculate with some formulas y=4.2 and z=0.04 and I would like to find what z value is. Thats why I need interpolation.
  12 Comments
theintern
theintern on 3 Nov 2017
Hello friends, unfortunatelly I cannot share my datas. There are scattered 197x3 datas but I can't share them because of privacy policy. The datas are coming from a digitized contour plot.( x axis, y axis and heigth of contour,z. Thank you all for your replies.
Stephen23
Stephen23 on 3 Nov 2017
@theintern: if you cannot upload your actual data then you can upload some data that has similar features to the actual data, i.e. the same dimensions, the same basic relationship. It certainly would help us.

Sign in to comment.

Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!