locfit_all.html 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/REC-html40/loose.dtd">
  3. <html>
  4. <head>
  5. <title>Description of locfit_all</title>
  6. <meta name="keywords" content="locfit_all">
  7. <meta name="description" content="Smoothing noisy data using Local Regression and Likelihood.">
  8. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  9. <meta name="generator" content="m2html &copy; 2005 Guillaume Flandin">
  10. <meta name="robots" content="index, follow">
  11. <link type="text/css" rel="stylesheet" href="../../../m2html.css">
  12. <script type="text/javascript">
  13. if (top.frames.length == 0) { top.location = "../../../index.html"; };
  14. </script>
  15. </head>
  16. <body>
  17. <a name="_top"></a>
  18. <!-- ../../menu.html chronux_2_10 --><!-- # locfit --><!-- menu.html m -->
  19. <h1>locfit_all
  20. </h1>
  21. <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
  22. <div class="box"><strong>Smoothing noisy data using Local Regression and Likelihood.</strong></div>
  23. <h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
  24. <div class="box"><strong>function out=locfit_all(varargin) </strong></div>
  25. <h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
  26. <div class="fragment"><pre class="comment"> Smoothing noisy data using Local Regression and Likelihood.
  27. This is a combination of the locfit and predict functions</pre></div>
  28. <!-- crossreference -->
  29. <h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
  30. This function calls:
  31. <ul style="list-style-image:url(../../../matlabicon.gif)">
  32. <li><a href="locfit.html" class="code" title="function fit=locfit(varargin)">locfit</a> Smoothing noisy data using Local Regression and Likelihood.</li><li><a href="predict.html" class="code" title="function [y, se] = predict(varargin)">predict</a> Interpolate a fit produced by locfit().</li></ul>
  33. This function is called by:
  34. <ul style="list-style-image:url(../../../matlabicon.gif)">
  35. </ul>
  36. <!-- crossreference -->
  37. <h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
  38. <div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function out=locfit_all(varargin)</a>
  39. 0002
  40. 0003 <span class="comment">% Smoothing noisy data using Local Regression and Likelihood.</span>
  41. 0004 <span class="comment">%</span>
  42. 0005 <span class="comment">% This is a combination of the locfit and predict functions</span>
  43. 0006 <span class="comment">%</span>
  44. 0007
  45. 0008 <span class="comment">% Minimal input validation</span>
  46. 0009 <span class="keyword">if</span> nargin &lt; 1
  47. 0010 error( <span class="string">'At least one input argument required'</span> );
  48. 0011 <span class="keyword">end</span>
  49. 0012
  50. 0013 predict_args = {};
  51. 0014
  52. 0015 locfit_args = varargin{1};
  53. 0016
  54. 0017 <span class="keyword">if</span> nargin==2
  55. 0018 predict_args = varargin{2};
  56. 0019 <span class="keyword">end</span>;
  57. 0020
  58. 0021 fit = <a href="locfit.html" class="code" title="function fit=locfit(varargin)">locfit</a>( locfit_args{:} );
  59. 0022
  60. 0023 predict_out = <a href="predict.html" class="code" title="function [y, se] = predict(varargin)">predict</a>( fit, predict_args{:} );
  61. 0024
  62. 0025 out = {fit predict_out};</pre></div>
  63. <hr><address>Generated on Fri 12-Aug-2011 11:36:15 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> &copy; 2005</address>
  64. </body>
  65. </html>