Hole filling by interpolation method?

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 commentaire

Sean de Wolski
Sean de Wolski le 5 Mar 2012
Can you show how you're calling interp3/griddata3? What is the _full_ content of the error message?

Connectez-vous pour commenter.

Réponses (1)

Andrew Newell
Andrew Newell le 5 Mar 2012

0 votes

If your data are irregularly spaced, you could try using triscatteredinterp.

Catégories

En savoir plus sur Interpolation dans Centre d'aide et File Exchange

Tags

Question posée :

le 5 Mar 2012

Community Treasure Hunt

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

Start Hunting!

Translated by