Least Square Function with RANSAC

15 random created points are divided into 2 part by line according to least square theorem by applying RANSAC algorithm

You are now following this Submission

Firstly 15 random point is created,then RANSAC algorithm is applied on points.In detailed, two random point is choose among 15 points then the line equation passed on these two line is obtained and the least square theorem applied for line. The score of theorem and points is stored in array. This process repeated 1000 times.The smallest score and points show the best line divide 15 point into two plane.Similirly,the second smallest score show the second best line divide 15 points into two plane.

Cite As

mutluhan özkan (2026). Least Square Function with RANSAC (https://in.mathworks.com/matlabcentral/fileexchange/71167-least-square-function-with-ransac), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0