Question: Python 3! Thank you Question 7: Generate an array of the same length as the 1D signal, whose elements are drawn from a random Gaussian

Python 3!

Thank you

Question 7: Generate an array of the same length as the 1D signal, whose elements are drawn from a random Gaussian distribution with mean zero and standard deviation =3 . Look up the normal() submodule under numpy.random. Example syntax is mu = 0 # mean sigma = 3 # standard deviation noise = np.random.normal(mu, sigma, n) Generate a new signal by adding the piece-wise constant signal from above and your new random Gaussian array (noise). Plot this new signal both as a line and stem plot (use subplot() again) over the sampled points. Label all axes and give the plots titles. What do you observe has happened to the signal?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!