Removes the mean (or DC value) from a series.
A series or table.
A series or a table.
demean(gsin(100, 0.01) + 23)
returns the sinewave minus the mean, or gsin(100, 0.01).
DEMEAN removes the mean (or DC value) from a series.
DEMEAN is often used when computing the SPECTRUM of a series to prevent a large DC value (the first point of a spectrum) from visually dominating the plot.
See DETREND to remove a linear trend from a series.