📄 detrend.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><html><head> <title>Description of detrend</title> <meta name="keywords" content="detrend"> <meta name="description" content="DETREND removes the trend from data, NaN's are considered as missing values"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="generator" content="m2html © 2003 Guillaume Flandin"> <meta name="robots" content="index, follow"> <link type="text/css" rel="stylesheet" href="../m2html.css"></head><body><a name="_top"></a><div><a href="../index.html">Home</a> > <a href="index.html">tsa</a> > detrend.m</div><!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td><td align="right"><a href="index.html">Index for tsa <img alt=">" border="0" src="../right.png"></a></td></tr></table>--><h1>detrend</h1><h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="box"><strong>DETREND removes the trend from data, NaN's are considered as missing values</strong></div><h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="box"><strong>function [X,T]=detrend(t,X,p) </strong></div><h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2><div class="fragment"><pre class="comment"> DETREND removes the trend from data, NaN's are considered as missing values DETREND is fully compatible to previous Matlab and Octave DETREND with the following features added: - handles NaN's by assuming that these are missing values - handles unequally spaced data - second output parameter gives the trend of the data - compatible to Matlab and Octave [...]=detrend([t,] X [,p]) removes trend for unequally spaced data t represents the time points X(i) is the value at time t(i) p must be a scalar [...]=detrend(X,0) removes the mean [...]=detrend(X,p) removes polynomial of order p (default p=1) [...]=detrend(X,1) - default removes linear trend [X,T]=detrend(...) X is the detrended data T is the removed trend see also: <a href="sumskipnan.html" class="code" title="function [o,count,SSQ,S4M] = sumskipnan(i,DIM)">SUMSKIPNAN</a></pre></div><!-- crossreference --><h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>This function calls:<ul style="list-style-image:url(../matlabicon.gif)"></ul>This function is called by:<ul style="list-style-image:url(../matlabicon.gif)"><li><a href="aar.html" class="code" title="function [a,e,REV,TOC,CPUTIME,ESU] = aar(y, Mode, arg3, arg4, arg5, arg6, arg7, arg8, arg9);">aar</a> Calculates adaptive autoregressive (AAR) and adaptive autoregressive moving average estimates (AARMA)</li></ul><!-- crossreference --><hr><address>Generated on Tue 17-Aug-2004 00:13:21 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> © 2003</address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -