Filter löschen
Filter löschen

Getting the values from the curve fitted model

3 Ansichten (letzte 30 Tage)
Hirak Basumatary
Hirak Basumatary am 5 Aug. 2018
Is there a way i can get the new values of the datas ( x and y) from the curve fitted model?
  1 Kommentar
jonas
jonas am 5 Aug. 2018
Bearbeitet: jonas am 5 Aug. 2018
How did you fit your model? fit? polyfit?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

jonas
jonas am 5 Aug. 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

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by