## Remove trend

Purpose

Description

Macro Synopsis

Modules

Related Functions

### Purpose

Remove trend

### Description

This function removes the trend of a given signal by performing a linear regression and subtracting the linear fit function subsequently.

### Macro Synopsis

`y = RemoveTrend(x);`

signal x,y;

### Modules

Student, Professional

### Related Functions

Remove DC, Linear regression, Exponential regression, Multilinear regression, Power regression, Box-Cox transform, Detrended fluctuation analysis (DFA), Long term correlation analysis (LTCA), Principal component analysis (PCA), R/S statistics.