Clear Filters
Clear Filters

create a 3D average plan (or normal) from two 3D plans (or normals)

3 views (last 30 days)
How can I determine the average plan knowing the plans of the two attached sets of nodes?
load plan_1_2.mat
figure
plot3(plan_1(:,1),plan_1(:,2),plan_1(:,3),'mo','Markersize',4); % normal 1
hold on
plot3(plan_2(:,1),plan_2(:,2),plan_2(:,3),'go','Markersize',4); % normal 2
hold off
axis equal
xlabel('x')
ylabel('y')
zlabel('z')
grid off
Or, is it possible to create an average normals?

Answers (1)

Matt J
Matt J on 1 Jun 2024
Edited: Matt J on 1 Jun 2024
There is no universally recognized concept of an "average plane". One definition you could adopt is the plane obtained by fitting the union of the green and magenta nodes.
  1 Comment
Matt J
Matt J on 3 Jun 2024
That will produce a 3x1 vector defining a plane, but it's anyone's guess what it means.

Sign in to comment.

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!