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 Solvers11
Suggested Problems
-
Find the sum of all the numbers of the input vector
53869 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15780 Solvers
-
2818 Solvers
-
Four quadrant inverse tangent function.
70 Solvers
-
Back to basics 8 - Matrix Diagonals
965 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!