Generate noise signal with min and max amplitude

13 ビュー (過去 30 日間)
Sabella Huang
Sabella Huang 2022 年 7 月 4 日
コメント済み: Sabella Huang 2022 年 7 月 5 日
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

採用された回答

Image Analyst
Image Analyst 2022 年 7 月 4 日
Try this:
sigma = 1.1;
r = sigma * randn(100000, 1);
histogram(r)
grid on;
xticks(-5:5)
  3 件のコメント
Sabella Huang
Sabella Huang 2022 年 7 月 5 日
Ok, I got it. Thanks for your help

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by