

    \filetitle{detrend}{Remove a linear time trend}{tseries/detrend}

	\paragraph{Syntax}
 
 \begin{verbatim}
 x = detrend(x,range)
 \end{verbatim}
 \paragraph{Input arguments}
 
 \begin{itemize}
 \item
   \texttt{x} {[} tseries {]} - Input time series.
 \item
   \texttt{range} {[} tseries {]} - Range for which the trend will be
   computed.
 \end{itemize}
 \paragraph{Output arguments}
 
 \begin{itemize}
 \item
   \texttt{x} {[} tseries {]} - Output time series with a trend removed.
 \end{itemize}
 \paragraph{Options}
 
 See \url{tseries/trend} for options available.
 
 \paragraph{Description}
 
 \paragraph{Example}
 
 \}


