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)

1 件のコメント

chedli zaafouri
chedli zaafouri 2019 年 1 月 11 日
Thank you very much for your answer

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

製品

リリース

R2018b

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by