From: Hugh Thompson on

Hello,

I have a set of points I got from regionprops(...PixelList). In essence, I have a picture of a line and am trying to detect its characteristics. I used polyfit with an order 18 polynomial because anything lower than that did not give a very good fit. But now I'm stuck because I get 18 inflexion points when there are about 2 or 3... I'm not sure what to do next. Where am I going wrong with polyfit? Is there a better way? (I read about fit but didn't really understand how it works) Or is there a way to find the inflexion point without finding the equation of the line?

Thanks a lot,
Hugh
 | 
Pages: 1
Prev: Read and parse large XML-files
Next: simulink help