Fitting Data from a matrix to polynomial
1 次查看(过去 30 天)
显示 更早的评论
I need help making a polynomial from given data from a matrix. Report the coefficients in the standard manner and describe/discuss how you chose the polynomial order. Also report the 95% confidence intervals for the coefficients.
0.0 180.48242260204557
1.0472413857496277 -2.8019794514594967E-14
1.9636664333660168 -37.722506925880054
2.9199038223613516 -5.852371530184997
4.0287872569295 30.4136814365995
5.109651311245777 42.12479894850814
5.840958234437185 14.115802094499417
7.059020731794682 -39.236345500485974
7.9997668633757595 -83.13969153340369
8.799863970074767 -54.46835207407943
10.16543599143651 126.84527900958814
0 个评论
回答(2 个)
Walter Roberson
2020-10-20
XY = [0.0 180.48242260204557
1.0472413857496277 -2.8019794514594967E-14
1.9636664333660168 -37.722506925880054
2.9199038223613516 -5.852371530184997
4.0287872569295 30.4136814365995
5.109651311245777 42.12479894850814
5.840958234437185 14.115802094499417
7.059020731794682 -39.236345500485974
7.9997668633757595 -83.13969153340369
8.799863970074767 -54.46835207407943
10.16543599143651 126.84527900958814]
X = XY(:,1); Y = XY(:,2);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polynomials 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!