Generate Gaussian RV?

2 views (last 30 days)
Mohammed Ba Humaish
Mohammed Ba Humaish on 11 Dec 2021
Edited: Mohammed Ba Humaish on 12 Dec 2021
Gaussian RP
  2 Comments
John D'Errico
John D'Errico on 11 Dec 2021
If it is discrete, then it is not gaussian.
Mohammed Ba Humaish
Mohammed Ba Humaish on 11 Dec 2021
I will convert it using fft

Sign in to comment.

Accepted Answer

Voss
Voss on 11 Dec 2021
my_mean = 0;
my_variance = 10;
x = randn(1,n)*sqrt(my_variance)+my_mean;

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!