Slope equation for plot of best fit line

116 ビュー (過去 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

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by