How can I use curve fitting tool as function?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi everyone,
I want to use Curve fitting tool as in the picture below as Matalb function.Which is function I have to use in the my code to get same result.
Thanks in advance,
Riyadh
댓글 수: 0
채택된 답변
추가 답변 (1개)
Walter Roberson
2019년 4월 5일
results = fit([x2e(:), x1e(:)], ye(:), 'poly11');
coeffs(results)
댓글 수: 2
Walter Roberson
2019년 4월 5일
results = fit([x2e(:), x1e(:)], ye(:), 'poly11', 'Robust', 'LAR');
coeffs(results)
참고 항목
카테고리
Help Center 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!