How do I approximate a number of points into a surface or volume?

조회 수: 6 (최근 30일)
Danish
Danish 2019년 11월 17일
댓글: Danish 2019년 11월 17일
I am working on plotting a robot surface and have got a set of x,y and z coordinates that I plot using the scatter3 function. From the plot, I can see that my workspace is cylinderical.
My question is how do I approximate or mesh together all these points so that the workspace looks like a single body. My x,y and z coordinates are column vectors of the same length.

답변 (1개)

Image Analyst
Image Analyst 2019년 11월 17일
From the help:
DT = delaunayTriangulation(P) creates a Delaunay triangulation from the points in P. The matrix P has 2 or 3 columns, depending on whether your points are in 2-D or 3-D space.
  댓글 수: 1
Danish
Danish 2019년 11월 17일
It doesn't work. In addition to being too slow computationally, it produced this very strange looking 2d figure. Is there function that would work?
workspace.JPG

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

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by