Interpolate / Smooth Surface Point cloud

I have a matrix of points (x,y,z) which describe a flowpath, however these points are scattered and not uniformly spaced. It's a "bendy-tube" oriented in the z direction, so the points don't describe a "function" of x,y. How can one interpolate the points at a specific z value so I can calculate the area? I can calculate the area at z=0 using convhull because there are many data points at z=0, but how could I do it for a specific z value?
I've tried triscatteredInterp, griddata, griddedinterpolant, and interp3. My end goal is to get area as a function of the z direction. Griddedinterpolant(x,y,z) makes an interpolant, but I don't know how to get the data from it.

1 commentaire

Matt J
Matt J le 23 Juil 2014
I can calculate the area at z=0 using convhull because there are many data points at z=0, but how could I do it for a specific z value?
So the cross-sections of the tube at every z are convex?

Connectez-vous pour commenter.

Réponses (0)

Catégories

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

Commenté :

le 23 Juil 2014

Community Treasure Hunt

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

Start Hunting!

Translated by