finding a normal at a point

1 次查看(过去 30 天)
prashanth A
prashanth A 2014-8-25
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.
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 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by