generate uniformly distributed coordinates (Ax3 matrix) from known coordinates (Rx3 matrix)

1 次查看(过去 30 天)
Hi. I am trying to generate uniformly distributed coordinates (Ax3 matrix) from the non-uniform coordinates of a 3D object (Rx3 matrix) that I know. That is, I should create these uniformly distributed coordinates taking into account the Rx3 coordinates and maintaining the geometry of the 3D object. Is there any function available that can serve my purpose?
I am currently starting like this:
object3D = importdata("example.txt"); % known

回答(1 个)

KSSV
KSSV 2022-12-22
  3 个评论
Alberto Acri
Alberto Acri 2022-12-23
编辑:Torsten 2022-12-23
I added the "v" function because "scatteredInterpolant" requests a v=F(x,y,z).
Attached you will find the .txt file.
M = importdata("example.txt");
plot3(M(:,1),M(:,2),M(:,3),'o')

请先登录,再进行评论。

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by