how to create randon vector between the numbers -0.1 to 0.1 with the length of 100? (1*100)

 採用された回答

Stephan
Stephan 2018 年 10 月 25 日
編集済み: Stephan 2018 年 10 月 25 日

0 投票

Hi,
use
x = (2*rand(1,100)-1)/10;
Best regards
Stephan

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で MATLAB についてさらに検索

製品

リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by