least square method
6 views (last 30 days)
Show older comments
Hello....
what is the mfile coding for least square method to compare the two data is fit or not, or to know the percentage fit between two data? the data is in microsoft excel.
Hope you can help me... thanks...
0 Comments
Accepted Answer
Titus Edelhofer
on 21 May 2012
Hi Tiara,
"fit" may be next to everything. If it is a linear fit, just use polyfit, same of course for polynomial fit. Everything else you will need to give us some more information ...
Titus
2 Comments
Sargondjani
on 21 May 2012
you have to tell us how you want to compare them... i mean, it could be every thing: difference in mean, variance, linear regression coefficients, average squared differences...
More Answers (0)
See Also
Categories
Find more on Polynomials 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!