constrained least square fitting
조회 수: 7 (최근 30일)
이전 댓글 표시
Hey
I need some help with constrained least squares. I have a vector A(mx1). I need to fit a degree n-polynomial f with a constraint that the f(1)=f(m). I am acquainted with matlab but never done curve fitting and some lead will be great help.
Thanks
댓글 수: 2
Walter Roberson
2011년 6월 19일
How strict does the tolerance have to be on f(1)=f(m) ? If they must be exactly equal, that can be difficult to achieve due to standard round-off error issues.
답변 (2개)
Oleg Komarov
2011년 6월 19일
You can use lsqnonneg or if you have the Optimization TB then Least Squares (Model Fitting) Algorithms
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Fit Postprocessing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!