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

Matt J
Matt J 2014년 7월 23일
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?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

질문:

2014년 7월 23일

댓글:

2014년 7월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by