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 comentario

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

Iniciar sesión para comentar.

Respuestas (1)

Andrew Newell
Andrew Newell el 5 de Mzo. de 2012

0 votos

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

Categorías

Más información sobre Interpolation en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 5 de Mzo. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by