Problem 42840. Coefficients and vertex of a parabola given 3 points
21.31% Correct | 78.69% Incorrect
Last Solution submitted on Feb 25, 2023
Peng Liu on 29 Apr 2016
It would be better to add more test cases to reinforce the test suite.
Roche de Guzman on 1 May 2016
Thanks I just updated!
James on 6 May 2016
Using without the "round" fudge on the polyfit function should work, but gives errors on the order of 1e-14. Round only works because all the coefficients in your test suite are integers.
Problem Recent Solvers19
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Detect a number and replace with two NaN's
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!