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
-
Return the largest number that is adjacent to a zero
5546 Solvers
-
5158 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3731 Solvers
-
Vectorize the digits of an Integer
338 Solvers
-
50 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!