How can I use curve fitting tool as function?

조회 수: 2 (최근 30일)
Riyadh Muttaleb
Riyadh Muttaleb 2019년 4월 5일
댓글: Riyadh Muttaleb 2019년 4월 5일
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
CFT.jpg

채택된 답변

Riyadh Muttaleb
Riyadh Muttaleb 2019년 4월 5일
Thank you for your answer, Does this function include Robust LAR?

추가 답변 (1개)

Walter Roberson
Walter Roberson 2019년 4월 5일
results = fit([x2e(:), x1e(:)], ye(:), 'poly11');
coeffs(results)
  댓글 수: 2
Walter Roberson
Walter Roberson 2019년 4월 5일
results = fit([x2e(:), x1e(:)], ye(:), 'poly11', 'Robust', 'LAR');
coeffs(results)
Riyadh Muttaleb
Riyadh Muttaleb 2019년 4월 5일
Great! Thank you

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by