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
-
30733 Solvers
-
Count from 0 to N^M in base N.
241 Solvers
-
Project Euler: Problem 7, Nth prime
1777 Solvers
-
251 Solvers
-
Create a matrix X, where each column is a shifted copy of the vector v
226 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!