Getting the values from the curve fitted model

조회 수: 3 (최근 30일)
Hirak Basumatary
Hirak Basumatary 2018년 8월 5일
댓글: Hirak Basumatary 2018년 8월 6일
Is there a way i can get the new values of the datas ( x and y) from the curve fitted model?
  댓글 수: 1
jonas
jonas 2018년 8월 5일
편집: jonas 2018년 8월 5일
How did you fit your model? fit? polyfit?

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

채택된 답변

jonas
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 CenterFile Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by