Azzera filtri
Azzera filtri

how can i fit with using nonlinear regression?

2 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Star Strider
Star Strider il 30 Nov 2021
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 Commenti

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by