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 Solvers14
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3074 Solvers
-
424 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1410 Solvers
-
Sum of diagonal of a square matrix
1646 Solvers
-
371 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!