How can I plot a 3D plane knowing its center point coordinates and its Normal
이전 댓글 표시
How can I plot a 3D plane knowing its center point coordinates and its Normal ?
채택된 답변
추가 답변 (2개)
KSSV
2016년 6월 22일
You know a point (x1,y1,z1) and normal vector (a,b,c). Then equation of plane should be:
a(x-x1)+b(y-y1)+c(z-z1) = 0 ;
댓글 수: 1
Abeer Heikal
2016년 6월 22일
편집: Abeer Heikal
2016년 6월 22일
% ax+by+cz+d plane
% 3x+2y+6z+2 plane
y =linspace(-4,4,51);
a=3;b=2;c=6;d=2;
x =linspace(-4,4,51);
[y2,x2]=meshgrid(y ,x );
z2=(1/c).*(d+(a.*x2)+(b.*y2));% ax+by+cz+d plane
surf( x2,y2,z2 );
카테고리
도움말 센터 및 File Exchange에서 Polar Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
