extract equation from cfit contents
조회 수: 6 (최근 30일)
이전 댓글 표시
I have a fit object cfit for which I can access the coeffeicients by using coeffvalues.
I can also 'see' the model used but I wish to reconstruct the equation using coeffvalues and some method of extracting the equation used for fit - can this be extracted with some function equivalent to coeffvalues ?
댓글 수: 0
채택된 답변
Shashank Prasanna
2014년 7월 14일
You can use the formula methods to access the formula you fit:
load census
f = fittype('poly2');
formula(f)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!