Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 70249

Noise reduction using mean filtering with mathscript hybrid programming

$
0
0

Hi! I have this problem:

The idea of mean filtering is simply to replace each value in a signal with the mean (average) value of its neighbors. A mean filter is widely used for noise reduction.

Start by adding some random noise to a signal (use the file echo_1.wav or any other speech data file). Then, use mean filtering to reduce the introduced noise. More specifically, take the following steps:

  1. Normalize the signal values in the range [0 1].
  2. Add random noise to the signal by using the function randn. Set the noise level as a control.
  3. Convolve the noise-added signal with a mean filter. This filter can be designed by taking an odd number of ones and dividing by the size. For example, a 1× size mean filter is given by [1/3 1/3 1/3] and a 1×5size mean filter by [1/5 1/5 1/5 1/5 1/5]. Set the size of the mean filter as an odd number control (3, 5 or 7, for example).
 
 
I need some help in this problem, I don't know how to normalize the signal and I have no idea how to use convolution here. Thanks for your help.

Viewing all articles
Browse latest Browse all 70249

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>