finding a normal at a point

1 view (last 30 days)
prashanth A
prashanth A on 25 Aug 2014
Edited: prashanth A on 25 Aug 2014
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...

Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!