Question: Using randn, draw random numbers from a normal distribution with a mean of 7 and a standard deviation of 20 until your sample mean is
Using randn, draw random numbers from a normal distribution with a mean of 7 and a standard deviation of 20 until your sample mean is within 1 of 7 and your sample standard deviation is within 1 of 20. Count how many numbers you had to draw and store it as a variable. Repeat this experiment 100 times and average the result.
Can you solve this ? (Matlab)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
