Detrend Signal
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
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox >
- MATLAB > Language Fundamentals > Data Types > Time Series >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |