How to return the fit as a function object?
조회 수: 1 (최근 30일)
이전 댓글 표시
There are ways to evaluate the function or return the string of the function expression, which I know. But is there a way I can return the result as a function object? Because I need to use that fitted result as a part of an operator to be solved by CHEBFUN. Can someone suggest a way? Specifically I would like a fit of Gaussian polynomials up to some degree like in the curve fitting toolbox.
댓글 수: 0
답변 (1개)
dpb
2017년 5월 10일
Under 'Fit' menue, 'Save to Workspace' will save a cfit object of your choice to name. Not precisely sure what you're then wanting to do, but I'm guessing probably will serve the purpose.
댓글 수: 2
dpb
2017년 5월 11일
Use the fit command, then.
doc fit % for the details...need to know a model class, of course.
참고 항목
카테고리
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!