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

Réponses (1)

Rik
Rik le 28 Mai 2018

0 votes

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 \.

Catégories

En savoir plus sur Descriptive Statistics dans Centre d'aide et File Exchange

Question posée :

NS
le 28 Mai 2018

Réponse apportée :

Rik
le 28 Mai 2018

Community Treasure Hunt

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

Start Hunting!

Translated by