How to find which curve fit best to another curve
3 views (last 30 days)
Show older comments
Hi. I have one set of experimental data (X1, Y1) and 100 sets of numerical model driven data (x1-x100, y1-y100). Could you please help me to find which of those numerical results fit best with the test results? Is there any function in matlab to compare two curves or data series?
0 Comments
Answers (1)
KSSV
on 25 Oct 2020
To fit a polynomial read about polyfit. For curve fetting read about cftool, fit.
To comapre the two curves..use the difference between them and get the error, absolute error, relative error, RMS error.
0 Comments
See Also
Categories
Find more on Linear and Nonlinear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!