Slope equation for plot of best fit line

조회 수: 145 (최근 30일)
JAYASHREE N
JAYASHREE N 2020년 10월 28일
댓글: randerss simil 2021년 2월 7일
How do I get slope equation (y=mx+c) on plot for best fit line graph?

답변 (2개)

Divija Aleti
Divija Aleti 2020년 10월 30일
편집: Divija Aleti 2020년 10월 30일
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
randerss simil 2021년 2월 7일
Use the function diff and see if the difference values are constants or varying
  댓글 수: 1
randerss simil
randerss simil 2021년 2월 7일
It will tell about the slope of the line

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by