Find distance between point (1,3,1) and plane 3(x-2)+2(y-1)-3(z-1)=0
조회 수: 3 (최근 30일)
이전 댓글 표시
can't seem to find the commands for this.
댓글 수: 0
채택된 답변
Andrei Bobrov
2012년 8월 6일
fp = @(x)(x(:).' - [2, 1, 1])*[3;2;-3]; % your plane
x0 = [1,3,1]; % your point
d = fp(x0)/norm([3;2;-3]) ; % your distance
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!