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!