Question

Matlab question: using the following example: generate an exponentially distributed RV y, with a exponential pdf...

Matlab question:

using the following example:

generate an exponentially distributed RV y, with a exponential pdf with a parameter a=0.3

i) plot the histogram (using 1 million points)

ii) generate a data-driven histogram to see the goodness of mach

example:

suppose: pdf: fy(y)=a exp(-ay)u(y)

cdf: Fy(y) = [1-exp(-ay)]u(y)

transform uniform RV to a exponential RV: Y=F^-1y=-ln(1-x)/a

but because x is a uniform distributed (0,1) than y = -ln(x)/a)

thanks

0 0
Add a comment Improve this question Transcribed image text
Answer #1

i)

Generate 1 million random number of exponetial distrbution with parameter=0.3

Histogram:

ii)

Generate data driven histogram to see the goodness of match given below.

Add a comment
Know the answer?
Add Answer to:
Matlab question: using the following example: generate an exponentially distributed RV y, with a exponential pdf...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT