diff options
Diffstat (limited to 'help/en_US/scilab_en_US_help/shiftdata.html')
-rw-r--r-- | help/en_US/scilab_en_US_help/shiftdata.html | 118 |
1 files changed, 0 insertions, 118 deletions
diff --git a/help/en_US/scilab_en_US_help/shiftdata.html b/help/en_US/scilab_en_US_help/shiftdata.html deleted file mode 100644 index 357d134..0000000 --- a/help/en_US/scilab_en_US_help/shiftdata.html +++ /dev/null @@ -1,118 +0,0 @@ -<html><head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <title>shiftdata</title> - <style type="text/css" media="all"> - @import url("scilab_code.css"); - @import url("xml_code.css"); - @import url("c_code.css"); - @import url("style.css"); - </style> - </head> - <body> - <div class="manualnavbar"> - <table width="100%"><tr> - <td width="30%"> - <span class="previous"><a href="shanwavf.html"><< shanwavf</a></span> - - </td> - <td width="40%" class="center"> - <span class="top"><a href="section_e54aa8aac34aa55341e8b4b782fe1a74.html">FOSSEE Signal Processing Toolbox</a></span> - - </td> - <td width="30%" class="next"> - <span class="next"><a href="sigmoid_train.html">sigmoid_train >></a></span> - - </td> - </tr></table> - <hr /> - </div> - - - - <span class="path"><a href="index.html">FOSSEE Signal Processing Toolbox</a> >> <a href="section_e54aa8aac34aa55341e8b4b782fe1a74.html">FOSSEE Signal Processing Toolbox</a> > shiftdata</span> - - <br /><br /> - <div class="refnamediv"><h1 class="refname">shiftdata</h1> - <p class="refpurpose">Shifts data by rearranging dimensions</p></div> - - -<div class="refsynopsisdiv"><h3 class="title">Calling Sequence</h3> - <div class="synopsis"><pre></pre></div></div> - -<div class="refsection"><h3 class="title">Parameters</h3> - <dl></dl></div> - -<div class="refsection"><h3 class="title">Description</h3> - <p class="para">[y,perm,nshifts]=shiftdata(x,dim) -Shifts the entries along dimension dim in x to the first column and returns the permutation vector in perm -[y,perm,nshifts]=shiftdata(x) -Shifts the entries along dimension dim in x to the first column and returns the number of shifts in nshifts</p></div> - -<div class="refsection"><h3 class="title">Examples</h3> - <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabcomment">//When dim is specified:</span> -<span class="scilabid">x</span><span class="scilaboperator">=</span><a class="scilabcommand" href="scilab://testmatrix">testmatrix</a><span class="scilabopenclose">(</span><span class="scilabstring">'</span><span class="scilabstring">magi</span><span class="scilabstring">'</span><span class="scilabdefault">,</span><span class="scilabnumber">3</span><span class="scilabopenclose">)</span> -<span class="scilabid">x</span> <span class="scilaboperator">=</span> - -<span class="scilabnumber">8.</span> <span class="scilabnumber">1.</span> <span class="scilabnumber">6.</span> -<span class="scilabnumber">3.</span> <span class="scilabnumber">5.</span> <span class="scilabnumber">7.</span> -<span class="scilabnumber">4.</span> <span class="scilabnumber">9.</span> <span class="scilabnumber">2.</span> -<span class="scilabopenclose">[</span><span class="scilabid">y</span><span class="scilabdefault">,</span><span class="scilabid">perm</span><span class="scilabdefault">,</span><span class="scilabid">nshifts</span><span class="scilabopenclose">]</span> <span class="scilaboperator">=</span> <span class="scilabid">shiftdata</span><span class="scilabopenclose">(</span><span class="scilabid">x</span><span class="scilabdefault">,</span><span class="scilabnumber">2</span><span class="scilabopenclose">)</span> -<span class="scilabid">nshifts</span> <span class="scilaboperator">=</span> - -<span class="scilabopenclose">[</span><span class="scilabopenclose">]</span> -<span class="scilabid">perm</span> <span class="scilaboperator">=</span> - -<span class="scilabnumber">2.</span> <span class="scilabnumber">1.</span> -<span class="scilabid">y</span> <span class="scilaboperator">=</span> - -<span class="scilabnumber">8.</span> <span class="scilabnumber">3.</span> <span class="scilabnumber">4.</span> -<span class="scilabnumber">1.</span> <span class="scilabnumber">5.</span> <span class="scilabnumber">9.</span> -<span class="scilabnumber">6.</span> <span class="scilabnumber">7.</span> <span class="scilabnumber">2.</span> -<span class="scilabcomment">//When dim is not specified:</span> -<span class="scilabid">x</span><span class="scilaboperator">=</span><span class="scilabnumber">1</span><span class="scilabspecial">:</span><span class="scilabnumber">5</span> -<span class="scilabid">x</span> <span class="scilaboperator">=</span> - -<span class="scilabnumber">1.</span> <span class="scilabnumber">2.</span> <span class="scilabnumber">3.</span> <span class="scilabnumber">4.</span> <span class="scilabnumber">5.</span> -<span class="scilabopenclose">[</span><span class="scilabid">y</span><span class="scilabdefault">,</span><span class="scilabid">perm</span><span class="scilabdefault">,</span><span class="scilabid">nshifts</span><span class="scilabopenclose">]</span> <span class="scilaboperator">=</span> <span class="scilabid">shiftdata</span><span class="scilabopenclose">(</span><span class="scilabid">x</span><span class="scilabopenclose">)</span> -<span class="scilabid">nshifts</span> <span class="scilaboperator">=</span> - -<span class="scilabnumber">1.</span> -<span class="scilabid">perm</span> <span class="scilaboperator">=</span> - -<span class="scilabopenclose">[</span><span class="scilabopenclose">]</span> -<span class="scilabid">y</span> <span class="scilaboperator">=</span> - -<span class="scilabnumber">1.</span> -<span class="scilabnumber">2.</span> -<span class="scilabnumber">3.</span> -<span class="scilabnumber">4.</span> -<span class="scilabnumber">5.</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div> - -<div class="refsection"><h3 class="title">See also</h3> - <ul class="itemizedlist"><li class="member"><a href="scilab://permute" class="link">permute</a></li> - <li class="member"><a href="unshiftdata.html" class="link">unshiftdata</a></li> - <li class="member"><a href="scilab://Author" class="link">Author</a></li> - <li class="member"><a href="scilab://Ankur" class="link">Mallick</a></li></ul></div> - <br /> - - <div class="manualnavbar"> - <table width="100%"> - <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> -<tr> - <td width="30%"> - <span class="previous"><a href="shanwavf.html"><< shanwavf</a></span> - - </td> - <td width="40%" class="center"> - <span class="top"><a href="section_e54aa8aac34aa55341e8b4b782fe1a74.html">FOSSEE Signal Processing Toolbox</a></span> - - </td> - <td width="30%" class="next"> - <span class="next"><a href="sigmoid_train.html">sigmoid_train >></a></span> - - </td> - </tr></table> - <hr /> - </div> - </body> -</html> |