Detrend Signal

Version 1.0.0.0 (1.43 KB) by Francesco
Perform the detrend of a signal, subtracting regression line from the original.
159 Downloads
Updated 4 May 2015

View License

K_regLine()
Perform the detrend of a signal, subtracting regression line from the original.

SYNTHAX
dS = K_regline(S)
dS = K_regline(S,plotControl)
dS = K_regline(S,plotControl,name)

DESCRIPTION
dS = K_regline(signal) performs the detrend of signal S subtracting the first order regression line.
dS = K_regline(S,plotControl) logical, if plotControl=0 doesn't plot the results, otherwise if plootControl=1 plots
the original signal, the detrended signal and the regression line.
dS = K_regline(S,plotControl,name) add title "name" to the plot.

Cite As

Francesco (2024). Detrend Signal (https://www.mathworks.com/matlabcentral/fileexchange/50735-detrend-signal), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Signal Processing Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0