Generate noise signal with min and max amplitude

9 views (last 30 days)
Hello Guys,
I want to ask about, how to generate noise signal with Gaussian distribution and have an output amplitude range of [-4 4]?.
Thank you

Accepted Answer

Image Analyst
Image Analyst on 4 Jul 2022
Try this:
sigma = 1.1;
r = sigma * randn(100000, 1);
histogram(r)
grid on;
xticks(-5:5)
  3 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!