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!