2D spline interpolation help

2 views (last 30 days)
B
B on 20 Jan 2017
Edited: Walter Roberson on 21 Jan 2017
I am utterly confused as how to run spline interpolation. i'm working with a 52x3 double matrix called DMAP.
the x and y limits are [min X, max X]=[0 .65];[min X, max X]=[0 .65] and i used a .125 unit grid spacing
>> i=[0:0.125:6.5]
>> j=i
>> [X,Y]=meshgrid(i,j)
I'm supposed to interpolate my data with spline interpolation and then contour it for the grid size. I'm stuck on spline interpolation. Any help is appreciated here!
  1 Comment
Walter Roberson
Walter Roberson on 21 Jan 2017
Edited: Walter Roberson on 21 Jan 2017
is the first column of DMAP x coordinates, and the second is y coordinates? If so, then are the points scattered around, or do they fall onto a grid already?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!