trend line calculation and display
古いコメントを表示
Hi, how can I obtain and display a trend line from some points? I need the equation of the trend line. Thanks
採用された回答
その他の回答 (2 件)
Sarah Weihmann
2017 年 3 月 14 日
3 投票
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
2017 年 2 月 9 日
0 投票
Is there command available?
1 件のコメント
Pablo López
2018 年 6 月 27 日
編集済み: Pablo López
2018 年 6 月 27 日
カテゴリ
ヘルプ センター および File Exchange で Interpolation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!