Simple x-y curve fitting from data set.
Show older comments
I'm struggling to find a simple example of simple curve fitting in MATLAB.
I just want to do a best-fit curve for the following data:
x = [1 1.5 2 2.5 3 10e10]
y = [19.74 14.26 12.34 11.45 10.97 9.87];
Please could someone show me how to do it?
2 Comments
Wayne King
on 24 Feb 2013
do you really have an x vector where the final value jumps from 3 to 10^10?
Tom
on 24 Feb 2013
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!