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

조회 수: 7 (최근 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