Detrend
Removing a linear trend from a vector.
blockType: Detrend
Path in the library:
|
Description
Block Detrend removes the linear trend from the input vector lengths by subtracting the straight line that best fits the data in the least squares sense.
The line of least squares — this is a line with parameters and which minimize the number of
for evenly distributed values , where — -th element in the input vector. Output Data, They always represent a column vector on .
Ports
Input
#
IN_1
—
Input signal
vector
Details
The input signal.
| Data types |
|
| Complex numbers support |
I don’t |
Output
#
OUT_1
—
Output signal
column vector
Details
The block returns the remaining data after removing the straight line that best matches the data in the sense of the least squares method.
| Data types |
|
| Complex numbers support |
I don’t |