plotting normal vector in 3d

조회 수: 42(최근 30일)
Jack_111 2013년 7월 30일
I have three points P0=[x0,y0,z0], P1=[x1,y1,z1] P2=[x2,y2,z2] and I want to calculate the normal out of them what I did is
normal = cross(P0-P1, P0-P2);
and then I wanted to plot the normal so what I did is,
c = normal + P0 %end position of normal vector
quiver3(P0(1), P0(2), P0(3), c(1), c(2), c(3)); but it didn't work any suggestions please

채택된 답변

Matt Kindig
Matt Kindig 2013년 7월 30일
doc quiver3
  댓글 수: 11
Jack_111 2013년 8월 1일
Thank you for your support

댓글을 달려면 로그인하십시오.

추가 답변(0개)


Community Treasure Hunt

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

Start Hunting!

Translated by