polyfit and polyval problem
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Paul Rogers
am 5 Dez. 2019
Bearbeitet: Paul Rogers
am 6 Dez. 2019
Hi there,
I am trying to plot a line using the ployfit and command
x and y are the coordinates in attached xy the plot.
I can't plot a polyfit curve that reproduces the original.
I alway came up with something different from the original curve.
8 Kommentare
dpb
am 6 Dez. 2019
"I got the y from a more complex equation, ..."
Well, there's the place to start. What makes sense to approximate whatever that is/was.
What restrictions are on the approximation used, if any?
Akzeptierte Antwort
Paul Rogers
am 6 Dez. 2019
Bearbeitet: Paul Rogers
am 6 Dez. 2019
5 Kommentare
Guillaume
am 6 Dez. 2019
I'm not sure how many times we can say it, your curve is nothing like a polynomial and attempting to fit a polynomial to it is the wrong approach.
To me it looks like your curve may be a log-normal curve. Again, some information on what created that curve could tell you that.
Weitere Antworten (0)
Siehe auch
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!