Automatically insert coefficients in surface fit
Show older comments
When I fit a surface to data points, the output is something like this.
data(x,y) = p00 + p10*x + p01*y
Coefficients (with 95% confidence bounds):
p00 = 0.004555 (0.004179, 0.004931)
p10 = -0.0002772 (-0.0003244, -0.00023)
p01 = 2.366 (-0.3953, 5.128)
But because I need to to use this function very often, manually inserting the coefficients in the right place is getting tedious and time-consuming.
Is there any way for matlab to do this automatically? Giving me an output like
data(x,y) = 0.004555 - 0.0002772*x + 2.366*y
(I exclusively use polynomials, so don't worry about the other fitting methods.)
Thank you.
Accepted Answer
More Answers (0)
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!