필터 지우기
필터 지우기

Linear trend line of the given data points

조회 수: 3 (최근 30일)
Brahmananda Pramanik
Brahmananda Pramanik 2011년 6월 28일
I need to get the equation of the linear trend line of the given data points, when intercept is set to zero and I need R-squared value as well.
All these, I can get using MS-Excel. But I need to get all these information being in MATLAB function.
Please help me.

답변 (1개)

Rick Rosson
Rick Rosson 2011년 6월 28일
Please try the function polyfit:
doc polyfit
HTH.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by