Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
What happens when the argument l=1 in spap2 command?
조회 수: 5 (최근 30일)
이전 댓글 표시
Is only one polynomial fit on the data points. In that case what are the equations solved to obtain the 4 unknowns?
댓글 수: 0
답변 (1개)
Joost
2016년 9월 8일
I guess what you mean is the fit of one cubic polynomial (4 unknowns) on an arbitrary large data set of (x, y) pairs. In that case, your equations have been written down nicely at this page.
댓글 수: 2
Joost
2016년 9월 9일
This might be the weighting factor w (5th argument in spap2 function call). Could you please try with weights set to 1 and check if the result is the same as polyfit? (I do not have the toolbox with spap2 myself). The weights may cause the different result.
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!