trend line calculation and display
Ältere Kommentare anzeigen
Hi, how can I obtain and display a trend line from some points? I need the equation of the trend line. Thanks
Akzeptierte Antwort
Weitere Antworten (2)
Sarah Weihmann
am 14 Mär. 2017
3 Stimmen
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
am 9 Feb. 2017
0 Stimmen
Is there command available?
1 Kommentar
Pablo López
am 27 Jun. 2018
Bearbeitet: Pablo López
am 27 Jun. 2018
Kategorien
Mehr zu Interpolation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!