finding a normal at a point

1 vue (au cours des 30 derniers jours)
prashanth A
prashanth A le 25 Août 2014
Modifié(e) : prashanth A le 25 Août 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...

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by