필터 지우기
필터 지우기

how can i fit with using nonlinear regression?

조회 수: 2 (최근 30일)
alp onur karacay
alp onur karacay 2021년 11월 30일
댓글: Star Strider 2021년 11월 30일
hello everyone, i have data which is uploded on matlab but i dont have function about this data.I just plot the graph but i dont know how to code to get nonlinear regression conclusion on my graph.I share my question and graph.Please help me thanks a lot.
Question:Find the best fit line in the least squares sense to the training data. Plot the data and the best fit line on the same plot. Compute the correlation coefficient.How much of the original uncertainty is explained by the linear model?

채택된 답변

Star Strider
Star Strider 2021년 11월 30일
There are two options —
First, if it is truly a nonlinear funciton of something, developa mathematical model of the process that created those data and then use it to estimate the parameters. I can help with that if necessary.
Second, if it is only necessary to fit the funciton to something, the easiest approach is to use polyfit and polyval.
.
  댓글 수: 4
alp onur karacay
alp onur karacay 2021년 11월 30일
thank you so much it works
Star Strider
Star Strider 2021년 11월 30일
As always, my pleasure!
.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Support Vector Machine Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by