Getting the values from the curve fitted model
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hirak Basumatary
il 5 Ago 2018
Commentato: Hirak Basumatary
il 6 Ago 2018
Is there a way i can get the new values of the datas ( x and y) from the curve fitted model?
1 Commento
Risposta accettata
jonas
il 5 Ago 2018
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
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Linear and Nonlinear Regression in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!