create best fit line
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
if i have a bunch of random numbers how do i create a best fit line for my data
0 commentaires
Réponses (2)
Win co
le 11 Mai 2012
I suggest you to use "cftool". You have to possess an input and an output vector. The tool has a lot of fit function : gaussian, weibul, sum of sin, fourier, poly, exp, ...
0 commentaires
Daniel Shub
le 12 Mai 2012
If you just want to plot the data and line
doc lsline
If you want the equation for the the line
doc polyfit
0 commentaires
Voir également
Catégories
En savoir plus sur Interpolation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!