how can I solve this question? I need help
이전 댓글 표시
답변 (1개)
Stephan
2019년 4월 13일
1 개 추천
댓글 수: 5
ahmet emin arslan
2019년 4월 13일
ahmet emin arslan
2019년 4월 13일
Walter Roberson
2019년 4월 13일
편집: Walter Roberson
2019년 4월 13일
polyfit uses Vandermonde matrix to do the calculation, not least squares.
You require an 8th order polynomial and you have 9 input points. There are exact solutions for the fit (to within round-off) using techniques such as lagrange interpolating polynomial. Least squares is not one of those exact solution techniques, not unless you are using it in a degenerate sense.
I have to wonder, then, whether the question is expecting you to use curve fitting, or expecting you to construct a sum-of-squares residue function and minimize that function ?
ahmet emin arslan
2019년 4월 13일
Walter Roberson
2019년 4월 14일
fittype('poly8')
카테고리
도움말 센터 및 File Exchange에서 Linear Predictive Coding에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
