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
-
The Hitchhiker's Guide to MATLAB
3428 Solvers
-
914 Solvers
-
Wind outward from the center ...
86 Solvers
-
1794 Solvers
-
Set some matrix elements to zero
645 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!