Question: Prob. 2. How to generate a truncated Gaussian distribution (without discretization), assuming you only have a random number generator which can produce uniformly distributed random

Prob. 2. How to generate a truncated Gaussian distribution (without discretization), assuming you only have a random number generator which can produce uniformly distributed random samples between interval [0, 1)? A truncated Gaussian distribution in the interval a, b), where the Gaussian distribution has mean 1 and variance 2, has a distribution 22 where (y) is the cumulative distribution function of a normal distribution Program your algorithm in matlab to generate 200 samples and plot the histogram for a- -3, b-2 1, and 2-2. Describe your proposed method. Prob. 2. How to generate a truncated Gaussian distribution (without discretization), assuming you only have a random number generator which can produce uniformly distributed random samples between interval [0, 1)? A truncated Gaussian distribution in the interval a, b), where the Gaussian distribution has mean 1 and variance 2, has a distribution 22 where (y) is the cumulative distribution function of a normal distribution Program your algorithm in matlab to generate 200 samples and plot the histogram for a- -3, b-2 1, and 2-2. Describe your proposed method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
