create a normal plane passing through a point P knowing the coordinates of the direction of the Normal vector to point P
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Alberto Acri
am 23 Sep. 2023
Kommentiert: Alberto Acri
am 24 Sep. 2023
HI! Is there a way to create a plane normal to a coordinate of a 'line_test' matrix (e.g. the 'P' coordinate)?
If it can be useful I have the coordinates of the direction of the Normal vector to point P ('normal_test').
line_test = importdata("line_test_1.mat");
figure
plot3(line_test(:,1),line_test(:,2),line_test(:,3),'r.','Markersize',10);
axis equal
P = line_test(10,:);
normal_test = importdata("normal_test.mat");
0 Kommentare
Akzeptierte Antwort
Matt J
am 23 Sep. 2023
a=normal(1); b=normal(2); c=normal(3);
d=dot(normal,P);
fimplicit3(@(x,y,z) a*x+b*y+z*c-d )
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!