I will determine normals at each point of an array M (3 * 3) using "pcnormals" but here is the message that appears :
Expected ptCloud to be a pointCloud object
# [X1]= stlread('c1.stl');
X=unique(X1,'rows');
% pick up 3 random points
M= X(floor(rand(3,1)*(size(X,1)))+1,:);
normals = pcnormals(M,10);

 채택된 답변

Walter Roberson
Walter Roberson 2019년 1월 11일

1 개 추천

M = pointCloud(M)

추가 답변 (0개)

카테고리

제품

릴리스

R2018b

태그

Community Treasure Hunt

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

Start Hunting!

Translated by