trend line calculation and display
Afficher commentaires plus anciens
Hi, how can I obtain and display a trend line from some points? I need the equation of the trend line. Thanks
Réponse acceptée
Plus de réponses (2)
Sarah Weihmann
le 14 Mar 2017
3 votes
Hi Aravind S,
try the fit command for trendline calculation: http://de.mathworks.com/help/curvefit/fit.html Display the equation y=m*x+n as >> m=3; >> n=4; >> legend(sprintf('y=%f*x+%f',m,n));
Cheers, S
aravind S
le 9 Fév 2017
0 votes
Is there command available?
1 commentaire
Pablo López
le 27 Juin 2018
Modifié(e) : Pablo López
le 27 Juin 2018
Catégories
En savoir plus sur Interpolation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!