detrending data using linear regression

Hi,
I wanna detrend my data using linear regression. I don't wanna use the 'detrend' function of matlab.
Can anyone help me in the right direction?
Thanks

답변 (1개)

Rik
Rik 2018년 5월 28일

0 개 추천

Why do you not want to use the detrend function?
If you want a linear fit, you can use polyfit, but you can also use \.

카테고리

도움말 센터File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

질문:

NS
2018년 5월 28일

답변:

Rik
2018년 5월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by