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 CenterFile Exchange에서 Random Number Generation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by