[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
- else /tools/hpmatlab/toolbox/matlab/lang/else.m
- end /tools/hpmatlab/toolbox/matlab/lang/end.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- mean /tools/hpmatlab/toolbox/matlab/datafun/mean.m
- nargin /tools/hpmatlab/toolbox/matlab/elmat/nargin.m
- ones /tools/hpmatlab/toolbox/matlab/elmat/ones.m
- size /tools/hpmatlab/toolbox/matlab/general/size.m
This function is called by
- cohere /tools/hpmatlab/toolbox/signal/cohere.m
- csd /tools/hpmatlab/toolbox/signal/csd.m
- psd /tools/hpmatlab/toolbox/signal/psd.m
- spectrum /tools/hpmatlab/toolbox/signal/spectrum.m
- tfe /tools/hpmatlab/toolbox/signal/tfe.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON