Beruflich Dokumente
Kultur Dokumente
[[] [ ] [ ]
[ ]] (1)
Where N is a positive integer and x (n) is applied to the
filter response y (n) is the resulting output response.
From equation (1) we see that the output y (n)at the same
time n the PM filter N points, is the average of the N input
values to equation (2) shown.
[] [ ] [ ] [ ] (2)
The term "N-point" refers to the number of input values
used to compute the filter output.
In theory if the value of N becomes large enough noise
could be reduced as desired.
III. METHODOLOGY
The procedure to test the effect of moving averaging filter
is described below.
First the audio file in MatLab software was sampled
through the "wavread" function to save a file in "wav" format
in a given vector. For the sampling frequency should be
writing the "[x, y] = wavread ('name')" where the "x" is the
vector of "and" the sampling frequency, the part will be taken
"name" the file name is written without the extension.
Then the white noise in the MatLab software was generated
using the "rand" that generates an nxn matrix elements of
random value between 0 and 1 to an audio function.
Before adding the noise to the audio signal must be
normalized audio signal, obtaining two signals on the same
scale.
The output of the sum of the two signals is the signal that is
applied to the PM filter.
Based on equation (1) "for" function which can be seen in
Figure 1 is implemented.
Figure 1. Moving Average Filter
Tests were conducted with different values of N.
IV. RESULTS
For values of N = 3, one can see in Figure 2 a slight
decrease of the noise.
For values of N = 5, it can be seen in Figure 3 further
decrease the noise by using N = 3.
For values of N = 10, it can be seen in Figure 4 further
decrease the noise by using N = 3.
Figura 2. Filtro PM con N=3
.
V. MEJORAS
Se pueden obtener un mejor resultado en la disminucin del
ruido al aumentar el valor de N, pero se debe tener en cuenta
que tambin se ve afectada la seal que queremos filtrar. Para
un mejor filtrado se deben utilizar otros filtros que ayuden a
mantener intacta la seal a filtrar.
[1] Edward w. Kamen, Fundamentos de Seales y Sistemas,
3rd ed., Mxico, 2008, pp.2730.
Figura 3. Filtro PM con N=5
Figura 4. Filtro PM con N=10