Getting the values from the curve fitted model
조회 수: 3 (최근 30일)
이전 댓글 표시
Is there a way i can get the new values of the datas ( x and y) from the curve fitted model?
댓글 수: 1
채택된 답변
jonas
2018년 8월 5일
If you used fit:
p=fit(...) %your model
y=p(x) %evaluate your model at x
Similarily, if you used polyfit:
p=polyfit(...) %your model
y=polyval(p,x) %evaluate your model at x
추가 답변 (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!