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
-
Remove any row in which a NaN appears
8768 Solvers
-
Sort a list of complex numbers based on far they are from the origin.
5793 Solvers
-
197 Solvers
-
Find the sum of the elements in the "second" diagonal
1202 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
103 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!