Inputs:
-two vectors x and y (row or column)
-order of polynomial, p
Outputs:
-vector of coefficients [b0 b1 b2 ... bn]
-R-squared value
-vector of residuals, e
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers12
Suggested Problems
-
30532 Solvers
-
Read a column of numbers and interpolate missing data
2355 Solvers
-
Least common multiple of many numbers
256 Solvers
-
Make a run-length companion vector
660 Solvers
-
Cannibal eating odd and even numbered men
32 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!