Engee documentation

Detrend

Removing a linear trend from a vector.

blockType: Detrend

Path in the library:

/Signal Operations/Statistics/Detrend

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

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64

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

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64

Complex numbers support

I don’t