finding a normal at a point
2 次查看(过去 30 天)
显示 更早的评论
dear all,
please look at the following figure. in this, i am trying to find normal at the corners and d sides of this shape. i used the 'polyfit' function, to generate the slope, and then find the line.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145189/image.jpeg)
at the corners, the normal is somewhat okay, but at the middle point of the sides, the normal is not proper. the reason i attribute to : a very small or large value of inverse of 'first coefficient' given by polyfit.
suggest a way out...
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!