<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/156982</link>
    <title>MATLAB Central Newsreader - Which ML function should I use to approx smoothness of a signal?</title>
    <description>Feed for thread: Which ML function should I use to approx smoothness of a signal?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 01 Oct 2007 19:27:34 -0400</pubDate>
      <title>Which ML function should I use to approx smoothness of a signal?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/156982#394660</link>
      <author>G.A.M. </author>
      <description>I have a raw signal as a vector.&lt;br&gt;
I have a smoothed signal derived from the raw signal with an&lt;br&gt;
in-house algorithm. (It is another vector.)&lt;br&gt;
&lt;br&gt;
I need to quantify the variance of the smoothed signal from&lt;br&gt;
the raw signal. What are some good options for this in Matlab?&lt;br&gt;
&lt;br&gt;
Also, as a second question, if I want to quantify the noise&lt;br&gt;
in the raw signal (referenced to itself only), what Matlab&lt;br&gt;
functions should I look at?&lt;br&gt;
&lt;br&gt;
Thanks</description>
    </item>
    <item>
      <pubDate>Mon, 01 Oct 2007 20:09:56 -0400</pubDate>
      <title>Re: Which ML function should I use to approx smoothness of a signal?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/156982#394663</link>
      <author>John D'Errico</author>
      <description>&quot;G.A.M. &quot; &amp;lt;x0zero@gmail.com&amp;gt; wrote in message &amp;lt;fdrhn6$nti&lt;br&gt;
$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I have a raw signal as a vector.&lt;br&gt;
&amp;gt; I have a smoothed signal derived from the raw signal with an&lt;br&gt;
&amp;gt; in-house algorithm. (It is another vector.)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I need to quantify the variance of the smoothed signal from&lt;br&gt;
&amp;gt; the raw signal. What are some good options for this in Matlab?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Also, as a second question, if I want to quantify the noise&lt;br&gt;
&amp;gt; in the raw signal (referenced to itself only), what Matlab&lt;br&gt;
&amp;gt; functions should I look at?&lt;br&gt;
&lt;br&gt;
Interesting. I happen to have a code that solves&lt;br&gt;
exactly this problem. I'll post it on the file exchange.&lt;br&gt;
I was waiting to add a few more bells and whistles,&lt;br&gt;
but if there is a use for it, I'll post it now. Give it a&lt;br&gt;
day to show up there.&lt;br&gt;
&lt;br&gt;
As an example, gaussian noise added to a sine wave,&lt;br&gt;
nominal variance = 0.01.&lt;br&gt;
&lt;br&gt;
t = linspace(0,1,1000)';&lt;br&gt;
x = sin(t*50) + randn(size(t))/10;&lt;br&gt;
&lt;br&gt;
v = estimatenoise(x)&lt;br&gt;
v =&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0.0096887&lt;br&gt;
&lt;br&gt;
HTH,&lt;br&gt;
John</description>
    </item>
  </channel>
</rss>

