<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241589</link>
    <title>MATLAB Central Newsreader - Separated the noise</title>
    <description>Feed for thread: Separated the noise</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>Fri, 26 Dec 2008 04:13:02 -0500</pubDate>
      <title>Separated the noise</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241589#618841</link>
      <author>Muhammad </author>
      <description>dear who considering&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
i write my simple code under my simple information of matlab function&lt;br&gt;
and post the code in order to benefit other beginner&lt;br&gt;
thanks&lt;br&gt;
I have a problem and I hope any help for me&lt;br&gt;
&lt;br&gt;
how to separated the original signal from its noise.&lt;br&gt;
&lt;br&gt;
I have a  wave(.wav)&lt;br&gt;
I blend it with noise.&lt;br&gt;
my listing program :&lt;br&gt;
y=wavread(open.wav);&lt;br&gt;
spect=abs(fft(y,1024));&lt;br&gt;
frek= linspace(0,22050,512)&lt;br&gt;
plot(frek,spect(1:512));&lt;br&gt;
% generate and mix the noise.&lt;br&gt;
open_noise=agwn(y,20);&lt;br&gt;
&lt;br&gt;
Thank you.</description>
    </item>
    <item>
      <pubDate>Fri, 26 Dec 2008 04:42:47 -0500</pubDate>
      <title>Re: Separated the noise</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241589#618842</link>
      <author>ImageAnalyst</author>
      <description>On Dec 25, 11:13=A0pm, &quot;Muhammad &quot; &amp;lt;fahrudin_fis...@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; dear who considering&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; i write my simple code under my simple information of matlab function&lt;br&gt;
&amp;gt; and post the code in order to benefit other beginner&lt;br&gt;
&amp;gt; thanks&lt;br&gt;
&amp;gt; I have a problem and I hope any help for me&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; how to separated the original signal from its noise.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have a =A0wave(.wav)&lt;br&gt;
&amp;gt; I blend it with noise.&lt;br&gt;
&amp;gt; my listing program :&lt;br&gt;
&amp;gt; y=3Dwavread(open.wav);&lt;br&gt;
&amp;gt; spect=3Dabs(fft(y,1024));&lt;br&gt;
&amp;gt; frek=3D linspace(0,22050,512)&lt;br&gt;
&amp;gt; plot(frek,spect(1:512));&lt;br&gt;
&amp;gt; % generate and mix the noise.&lt;br&gt;
&amp;gt; open_noise=3Dagwn(y,20);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thank you.&lt;br&gt;
&lt;br&gt;
-----------------------------------------------&lt;br&gt;
Muhammed:&lt;br&gt;
I don't know the function agwn().  What is it?&lt;br&gt;
You could add the noise to your signal (y) and then use a Wiener&lt;br&gt;
filter (in the image processing toolkit) to recover an estimate of&lt;br&gt;
your signal.  Or you could try a median filter.  There are lots of&lt;br&gt;
ways to reduce noise and try to recover your signal.  Each makes some&lt;br&gt;
kind of assumption about the type of signal and noise, like the&lt;br&gt;
spectrum or way the noise affects your signal (additive,&lt;br&gt;
multiplicative, Gaussian, salt and pepper, 1/f, whether the noise&lt;br&gt;
comes in before the point spread function takes effect or after,&lt;br&gt;
etc.)  For example, if you have additive Gaussian noise, and a signal&lt;br&gt;
presumed to be made up from a known function (e.g. a polymonial of&lt;br&gt;
some order), then you can try a least squares fit.&lt;br&gt;
Good luck,&lt;br&gt;
ImageAnalyst</description>
    </item>
    <item>
      <pubDate>Fri, 26 Dec 2008 05:12:35 -0500</pubDate>
      <title>Re: Separated the noise</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241589#618848</link>
      <author>Nasser Abbasi</author>
      <description>&lt;br&gt;
&quot;Muhammad &quot; &amp;lt;fahrudin_fistek@yahoo.com&amp;gt; wrote in message &lt;br&gt;
news:gj1lke$nlp$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; dear who considering&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; i write my simple code under my simple information of matlab function&lt;br&gt;
&amp;gt; and post the code in order to benefit other beginner&lt;br&gt;
&amp;gt; thanks&lt;br&gt;
&amp;gt; I have a problem and I hope any help for me&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; how to separated the original signal from its noise.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have a  wave(.wav)&lt;br&gt;
&amp;gt; I blend it with noise.&lt;br&gt;
&amp;gt; my listing program :&lt;br&gt;
&amp;gt; y=wavread(open.wav);&lt;br&gt;
&amp;gt; spect=abs(fft(y,1024));&lt;br&gt;
&amp;gt; frek= linspace(0,22050,512)&lt;br&gt;
&amp;gt; plot(frek,spect(1:512));&lt;br&gt;
&amp;gt; % generate and mix the noise.&lt;br&gt;
&amp;gt; open_noise=agwn(y,20);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thank you.&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
That is probably going to be a very hard to thing to do I would think. To &lt;br&gt;
separate WGN from the signal, that is.&lt;br&gt;
&lt;br&gt;
White Gaussian noise has a constant power spectrum which extends over all &lt;br&gt;
frequencies, hence direct filtering would not work.&lt;br&gt;
&lt;br&gt;
In addition, if you were able to remove WGN from the signal somehow, this &lt;br&gt;
means you have solved THE communication problem itself, and the Shannon &lt;br&gt;
channel limit do not exist since noise is no longer an issue in &lt;br&gt;
communication as one can extract the original signal.&lt;br&gt;
&lt;br&gt;
May be you can, using statistics, and assuming you know the spectrum of the &lt;br&gt;
original signal and may be other assumptions,use Wiener filter to reduce &lt;br&gt;
WGN. But again, I do not think it is possible to eliminate WGN from a signal &lt;br&gt;
completely and in general under all conditions.&lt;br&gt;
&lt;br&gt;
I could be wrong ofcourse.&lt;br&gt;
&lt;br&gt;
--Nasser </description>
    </item>
    <item>
      <pubDate>Fri, 26 Dec 2008 22:26:17 -0500</pubDate>
      <title>Re: Separated the noise</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241589#618907</link>
      <author>Greg Heath</author>
      <description>On Dec 25, 11:42=A0pm, ImageAnalyst &amp;lt;imageanal...@mailinator.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; On Dec 25, 11:13=A0pm, &quot;Muhammad &quot; &amp;lt;fahrudin_fis...@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; dear who considering&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; i write my simple code under my simple information of matlab function&lt;br&gt;
&amp;gt; &amp;gt; and post the code in order to benefit other beginner&lt;br&gt;
&amp;gt; &amp;gt; thanks&lt;br&gt;
&amp;gt; &amp;gt; I have a problem and I hope any help for me&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; how to separated the original signal from its noise.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; I have a =A0wave(.wav)&lt;br&gt;
&amp;gt; &amp;gt; I blend it with noise.&lt;br&gt;
&amp;gt; &amp;gt; my listing program :&lt;br&gt;
&amp;gt; &amp;gt; y=3Dwavread(open.wav);&lt;br&gt;
&amp;gt; &amp;gt; spect=3Dabs(fft(y,1024));&lt;br&gt;
&amp;gt; &amp;gt; frek=3D linspace(0,22050,512)&lt;br&gt;
&amp;gt; &amp;gt; plot(frek,spect(1:512));&lt;br&gt;
&amp;gt; &amp;gt; % generate and mix the noise.&lt;br&gt;
&amp;gt; &amp;gt; open_noise=3Dagwn(y,20);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Thank you.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; -----------------------------------------------&lt;br&gt;
&amp;gt; Muhammed:&lt;br&gt;
&amp;gt; I don't know the function agwn(). =A0What is it?&lt;br&gt;
&lt;br&gt;
It's a misprint.&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/access/helpdesk/help/toolbox/comm/ref/awgn.html&quot;&gt;http://www.mathworks.com/access/helpdesk/help/toolbox/comm/ref/awgn.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Hope this helps.&lt;br&gt;
&lt;br&gt;
Greg</description>
    </item>
    <item>
      <pubDate>Sun, 28 Dec 2008 15:39:02 -0500</pubDate>
      <title>Re: Separated the noise</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241589#619030</link>
      <author>Johan Carlson</author>
      <description>Greg Heath &amp;lt;heath@alumni.brown.edu&amp;gt; wrote in message &amp;lt;5d595ffc-c720-4cf6-b41e-b031ad69e4a7@o40g2000yqb.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; On Dec 25, 11:42=A0pm, ImageAnalyst &amp;lt;imageanal...@mailinator.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt; On Dec 25, 11:13=A0pm, &quot;Muhammad &quot; &amp;lt;fahrudin_fis...@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; dear who considering&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; i write my simple code under my simple information of matlab function&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; and post the code in order to benefit other beginner&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; thanks&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I have a problem and I hope any help for me&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; how to separated the original signal from its noise.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I have a =A0wave(.wav)&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I blend it with noise.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; my listing program :&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; y=3Dwavread(open.wav);&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; spect=3Dabs(fft(y,1024));&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; frek=3D linspace(0,22050,512)&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; plot(frek,spect(1:512));&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; % generate and mix the noise.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; open_noise=3Dagwn(y,20);&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Thank you.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; -----------------------------------------------&lt;br&gt;
&amp;gt; &amp;gt; Muhammed:&lt;br&gt;
&amp;gt; &amp;gt; I don't know the function agwn(). =A0What is it?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; It's a misprint.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;a href=&quot;http://www.mathworks.com/access/helpdesk/help/toolbox/comm/ref/awgn.html&quot;&gt;http://www.mathworks.com/access/helpdesk/help/toolbox/comm/ref/awgn.html&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Hope this helps.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Greg&lt;br&gt;
&lt;br&gt;
Well, in general you can't &quot;separate&quot; the signal and noise components completely. At best, you could exploit some statistical properties of your source signal (the wav file) to design some sort of filter.&lt;br&gt;
&lt;br&gt;
Now, in your example, you actually have access to the noise-free signal (it's your x), so you could just subtract the signal from your &quot;noise+signal&quot; variable to obtain the current realization of the noise. Note, however, that this will ONLY work for that given realization of the noise vector. In general, AWGN can't really be predicted and removed completely, for reasons explained above.&lt;br&gt;
&lt;br&gt;
/JC</description>
    </item>
    <item>
      <pubDate>Thu, 01 Jan 2009 18:15:45 -0500</pubDate>
      <title>Re: Separated the noise</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241589#619484</link>
      <author>Greg Heath</author>
      <description>On Dec 25 2008, 11:13=A0pm, &quot;Muhammad &quot; &amp;lt;fahrudin_fis...@yahoo.com&amp;gt;&lt;br&gt;
wrote:&lt;br&gt;
&amp;gt; dear who considering&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; i write my simple code under my simple information of matlab function&lt;br&gt;
&amp;gt; and post the code in order to benefit other beginner&lt;br&gt;
&amp;gt; thanks&lt;br&gt;
&amp;gt; I have a problem and I hope any help for me&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; how to separated the original signal from its noise.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have a =A0wave(.wav)&lt;br&gt;
&amp;gt; I blend it with noise.&lt;br&gt;
&amp;gt; my listing program :&lt;br&gt;
&amp;gt; y=3Dwavread(open.wav);&lt;br&gt;
&amp;gt; spect=3Dabs(fft(y,1024));&lt;br&gt;
&amp;gt; frek=3D linspace(0,22050,512)&lt;br&gt;
&amp;gt; plot(frek,spect(1:512));&lt;br&gt;
&amp;gt; % generate and mix the noise.&lt;br&gt;
&amp;gt; open_noise=3Dagwn(y,20);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thank you.&lt;br&gt;
&lt;br&gt;
The most common way to remove white noise is&lt;br&gt;
to use a moving average or moving median filter whose length&lt;br&gt;
is significantly smaller than the decorrelation time of the signal.&lt;br&gt;
&lt;br&gt;
Hope this helps.&lt;br&gt;
&lt;br&gt;
Greg</description>
    </item>
  </channel>
</rss>

