Slope equation for plot of best fit line
Mostrar comentarios más antiguos
How do I get slope equation (y=mx+c) on plot for best fit line graph?
Respuestas (2)
Divija Aleti
el 30 de Oct. de 2020
Editada: Divija Aleti
el 30 de Oct. de 2020
1 voto
Hi Jayashree,
Once you have your plot, go to Tools->Basic Fitting from the menu bar in the figure window. Then select Linear. You will get the slope equation along with the best fit line on your plot.
For additional information, refer to the following link:
randerss simil
el 7 de Feb. de 2021
0 votos
Use the function diff and see if the difference values are constants or varying
1 comentario
randerss simil
el 7 de Feb. de 2021
It will tell about the slope of the line
Categorías
Más información sobre 2-D and 3-D Plots 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!