how to generate continuous data symbol (random real number)?
Show older comments
Consider a symbol s, with zero mean, E{s}=0, variance 1 and amplitude A=2, such that,
.
I want to generate a random real number s. Kindly help. Thanks in anticipation.
1 Comment
Walter Roberson
on 9 Nov 2022
(rand()*2-1) * A
would be uniform distribution with mean 0 and in the range -A to +A.
Unfortunately it will not have the right variance, so you will not be able to use uniform random distribution.
Accepted Answer
More Answers (0)
Categories
Find more on Random Number Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!