Using MATLAB, not R codes, I repeat, please, not in R, just MATLAB codes, write the complete code for:
1. Assume Y is an exponential random variable with rate parameter λ=2. (1) Generate 1000 samples from this exponential distribution using inverse transform method (2) Compare the histogram of your samples with the true density of Y.
exponential generate graph thank you
Get Answers For Free
Most questions answered within 1 hours.