How do I create a random variable which is exponential with a mean of 2
15 次查看(过去 30 天)
显示 更早的评论
Hey, I need to create a signal, X, which is exponential with a mean of 2. It is transmitted through an additive Gaussian noise channel where the Gaussian noise has a mean of -1 and a variance of 4. The signal and noise are independent.
I realize I have to use randn() for the random variable but am not really sure how to get a specific mean or how to produce the Gaussian. Have been away from MatLab for awhile. Any help would be greatly appreciated. Thanks! -Will
0 个评论
采纳的回答
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!