Fitting a plane to a 3D data

5 views (last 30 days)
Ampi
Ampi on 6 Nov 2012
Hello,
My query is:- I want to fit a plane to a set of 3D data to discard outliers. What can be the matlab code for it to display only the accepted data points fitted by the plane?Any help regarding this would be appreciated.
With regards, Ampi B.
  1 Comment
Matt Kindig
Matt Kindig on 6 Nov 2012
If you search the File Exchange (see link at top of your screen) for "fit points to plane", you will find a couple of functions that determine the best-fit plane to a cloud of points. You then will need to define a tolerance for the point to be "accepted"--i.e., how far from the plane can the point be for it to be considered as "on" the plane.

Sign in to comment.

Answers (1)

Doug Hull
Doug Hull on 6 Nov 2012
Making Matt's comment an answer:
If you search the File Exchange (see link at top of your screen) for "fit points to plane", you will find a couple of functions that determine the best-fit plane to a cloud of points. You then will need to define a tolerance for the point to be "accepted"--i.e., how far from the plane can the point be for it to be considered as "on" the plane.

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!