08-23-2016 10:32 PM
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:
08-24-2016 07:52 AM
I interpret "Normalize to [0,1]" to mean "linearly transform your data so that it lies in the range [0, 1], i.e. the smallest value is 0, the largest is 1".
Break this down into two sub-problems. First, do something to your set of numbers (i.e. do a single mathmatical addition/subtraction/multiplication/division using a constant to each member of the set) to make the smallest number 0. Now dow a second operation that doesn't change the smallest number, but makes the biggest number 1. [You may have noticed that I didn't say what this operation is, or how you find the constant number you use on each step -- you should be able to figure this out for yourself].
I don't know why you'd want to use a Mathscript Node for this problem (except that you'd need to write a Conv sub-VI, and you may not know how to do that ...). I'd advocate doing the entire thing in LabVIEW -- it will be simpler, easier to debug (I think), and probably faster.
Bob Schor
08-31-2016 11:28 AM
Please continue the conversation here: http://forums.ni.com/t5/LabVIEW-MathScript-RT-Module/echo-cancellation-using-deconvolution/m-p/33406...