trend line calculation and display
Mostrar comentarios más antiguos
Hi, how can I obtain and display a trend line from some points? I need the equation of the trend line. Thanks
Respuesta aceptada
Más respuestas (2)
Sarah Weihmann
el 14 de Mzo. de 2017
3 votos
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
el 9 de Feb. de 2017
0 votos
Is there command available?
1 comentario
Pablo López
el 27 de Jun. de 2018
Editada: Pablo López
el 27 de Jun. de 2018
Categorías
Más información sobre Interpolation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!