Question: Write a MATLAB program to sample K values from the probability mass function Pi=i/55, i=1, 2, ….10. Plot the histogram of generated values for K=50, 500, and 5000.
Version 1:
Related Question
- How to generate same set of random numbers
- Unifrnd generates a large number of uniform distributions. Is a part of it still uniform?
- How to generate a random number from a user defined discrete uniform distribution in Matlab
- Find a command that will generate a pseudo-random number(random number) that lies bwtween -1 and 1 drawn from uniform distribution
- How to generate a discrete random variable taking values from {0,1,2,3} having unifom distribution using rand. Generate a vector of 1000 such samples.
Best Answer