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 Solvers14
Suggested Problems
-
Number of 1s in a binary string
11604 Solvers
-
Implement simple rotation cypher
1099 Solvers
-
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
140 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
462 Solvers
-
755 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!