[Master Index] [Index for /tools/hpmatlab/toolbox/signal]

detrend

(/tools/hpmatlab/toolbox/signal/detrend.m)


Function Synopsis

y = detrend(x,o)

Help text

DETREND Remove a linear trend from a vector, usually for FFT processing.
	Y = DETREND(X) removes the best straight-line fit from the data in
	vector X and returns it in vector Y.  If X is a matrix, DETREND
	removes the trend from each column of the matrix.
	Y = DETREND(X,0) removes just the mean value from vector X, or
	the mean value from each column, if X is a matrix.

Cross-Reference Information

This function calls
This function is called by

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON