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 Solvers13
Suggested Problems
-
Number of 1s in a binary string
11421 Solvers
-
11203 Solvers
-
Reverse the elements of an array
1132 Solvers
-
Matrix multiplication across rows
402 Solvers
-
Converts numbers into characters
2137 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!