Generate a Gaussian distributed random number with a mean of 10 and a standard deviation of 2.Your VI would only stop generating a random number when a Stop button is pressed. The VI should only generate 100 data points per second. Plot the random numbers as they are generated and after pressing the Stop button. Name the VI as WhiteNoise.vi. (b) A moving average filter is a kind of filter which aims to smoothen out variations in signals. It works in the following manner: the current value and a number of previous values are averaged to generate a new value. The number of values to be generated depends on the window size of the filter. If for example, the window size is 10, then the current value plus 9 previous values of the input signal are averaged. With this, create a moving average filter for the input signal generated in part (a). The window size of the moving average filter is 5. Plot the input signal and the filtered signal on the same set of axes. The VI should stop when a Stop button is pressed.(LabVIEW programming). answer in screenshot of code
Generate a Gaussian distributed random number with a mean of 10 and a standard deviation of 2.Your VI would only stop generating a random number when a Stop button is pressed. The VI should only generate 100 data points per second. Plot the random numbers as they are generated and after pressing the Stop button. Name the VI as WhiteNoise.vi. (b) A moving average filter is a kind of filter which aims to smoothen out variations in signals. It works in the following manner: the current value and a number of previous values are averaged to generate a new value. The number of values to be generated depends on the window size of the filter. If for example, the window size is 10, then the current value plus 9 previous values of the input signal are averaged. With this, create a moving average filter for the input signal generated in part (a). The window size of the moving average filter is 5. Plot the input signal and the filtered signal on the same set of axes. The VI should stop when a Stop button is pressed.(LabVIEW programming). answer in screenshot of code
Step by step
Solved in 2 steps