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
-
Return a list sorted by number of occurrences
2895 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1398 Solvers
-
Check if number exists in vector
14266 Solvers
-
16842 Solvers
-
Find the max element of the array
2284 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!