Automatically insert coefficients in surface fit
이전 댓글 표시
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.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!