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
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52825 Solvers
-
Sum of first n terms of a harmonic progression
499 Solvers
-
Given a window, how many subsets of a vector sum positive
871 Solvers
-
Check if number exists in vector
13838 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!