How do you know it's a noise point? I mean if that point was moved over so that it was still really far away but on the circle, it wouldn't be a noise point, or would it?
I suggest you try rmoutliers() to remove outliers from your x and y data.
If that doesn't work, then you can just do the fit and find the residuals and throw out any point with a huge residual.
3 Comments
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/436811-circle-fitting-to-set-of-2d-data-contain-noise-data#comment_653251
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/436811-circle-fitting-to-set-of-2d-data-contain-noise-data#comment_653251
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/436811-circle-fitting-to-set-of-2d-data-contain-noise-data#comment_653253
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/436811-circle-fitting-to-set-of-2d-data-contain-noise-data#comment_653253
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/436811-circle-fitting-to-set-of-2d-data-contain-noise-data#comment_653374
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/436811-circle-fitting-to-set-of-2d-data-contain-noise-data#comment_653374
Sign in to comment.