2D-surface in 3d space from points without relationship
조회 수: 8 (최근 30일)
이전 댓글 표시
Hi, I'm new to matlab.
I have a set of points and I want to plot them as a 2d-surface in 3d space joining the points that are close.
How could I approach this problem?
I really appreciate any kind of help.
댓글 수: 0
채택된 답변
John D'Errico
2023년 1월 21일
This is less than a simple problem if you give no information at all about the surface in question. If it is a single valued thing, so of the form z(x,y), where z is a SINGLE-valued function of and y. then you can use tools like scatteredInterpolant, griddata, or my own gridfit (found on the file exchange for free download.) Any of those tools will yied a surface. It will depend on how noisy is your surface, as to your choice of tool, since only gridfit will try to smooth the surface, to deal with noise.
However, IF your "surface" is something like the surface of a sphere, so a closed surface, then it is not single valued. In that case, modeling tools like those I mention above wiil fail miserably, since they presume a single valued relationship. In that case, you will be forced to use tools like CRUST, convex hulls, alpha shapes, etc.
But without even seeing your data, we can't really be more helpful. The crystal ball shows me nothing at all. If you want better help, then a picture can make thigns easier. If you want significantly better help, then post your data.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Computational Geometry에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!