computing surface normal with x-, y- z- coordinates
이전 댓글 표시
hello there
i have the x-, y-, z- coordinates of 105 points of a surface and would like to compute the surface normal at each point. is there a way to do this? surfnorm and surf don't seem to work, because the vector z is a vector of z-coordinates and not a function of x and y.
댓글 수: 1
Roger Stafford
2014년 7월 5일
To define a surface, your 105 points need to approximate a 2D space. That seems to contradict your assertion that your z is a vector. In other words, a point (x,y,z) on the surface needs to have neighboring surface points in two directions, not just one direction, in order to determine the normal direction there. Can you please elucidate?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!