Best matlab curve fitting functions?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Andrew
am 21 Nov. 2014
Bearbeitet: Star Strider
am 21 Nov. 2014
I have the following set of data:
x=[0 .1579 .3158 .4737 .6316 .7895 .9474 1.1053 1.2632 1.4211 1.5789 1.7368 1.8947 2.0526 2.2105 2.3684 2.5263 2.6842 2.8421 3]';
fx=[-.3637 .3164 -1.1263 -1.0672 .1076 1.8249 -.1899 1.3484 1.2583 3.2179 1.7378 3.6954 5.1611 6.7646 8.3733 8.1898 7.9968 10.2402 11.5248 16.6505]';
I have to fit a curve to this data, without using matlabs curve fitting toolbox. What are the best built in matlab functions to fit data like this?
0 Kommentare
Akzeptierte Antwort
Star Strider
am 21 Nov. 2014
There are three other functions you can use to fit nonlinear data: nlinfit (Statistics Toolbox), lsqcurvefit (Optimization Toolbox), and fminsearch (built-in MATLAB function).
Do you have a model you want to fit? (It looks like a noisy exponential function, but the process that created it dictates the model you fit to it.)
7 Kommentare
Star Strider
am 21 Nov. 2014
Bearbeitet: Star Strider
am 21 Nov. 2014
My pleasure!
The sincerest expression of appreciation here on MATLAB Answers is to Accept the answer that most closely solves your problem.
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!