Generating vector r of random noise

1 回表示 (過去 30 日間)
Harini Mahendra Prabhu
Harini Mahendra Prabhu 2020 年 8 月 13 日
回答済み: Bruno Luong 2020 年 8 月 13 日
How do I generate a vector r of random noise, with n = 1 . . . 100. The noise should be selected from a uniform random distribution on [0.1, 0.1].

採用された回答

Bruno Luong
Bruno Luong 2020 年 8 月 13 日
r = rand(1,100)*0.2 - 0.1

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRandom Number Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by