Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started