Hole filling by interpolation method?

4 views (last 30 days)
Ampi
Ampi on 5 Mar 2012
I have already implemented the following code to slice a 3D face in matlab which is shown below:-
[x y z v]=flow(100);
slice(v,x1,y1,z1);
%%Output:- Gives a sliced view of the Three dimensional face
Now i want to interpolate the 3D data to fill holes in the face.But interp3,griddata3 is giving me errors.
Can anybody tell me how to use interp3 in matlab to interpolate the 3D data?
Thanks in advance.
With regards,
Ampi.
  1 Comment
Sean de Wolski
Sean de Wolski on 5 Mar 2012
Can you show how you're calling interp3/griddata3? What is the _full_ content of the error message?

Sign in to comment.

Answers (1)

Andrew Newell
Andrew Newell on 5 Mar 2012
If your data are irregularly spaced, you could try using triscatteredinterp.

Categories

Find more on Interpolation in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!