function [a, b] = ransacLineFit_driver(a, c, npts, noise, outlier, nIter) % % test ransac line fit % y= ax + c (or b = -1) % noise is level of noise (0 - 1) % outlier is how many outlier points to add % niter is how many iterations to try in ransacLineFit % return [a, b] % used in cs130b for programming assignment #4 % In the result, it will show the value for a and b. Example: ransacLineFit_driver(10,35,7000,0.6,3000,500) Result:a=10.2862; b=35.9361