Generating random variables with decimal points

1 回表示 (過去 30 日間)
Ajay Kumar
Ajay Kumar 2019 年 1 月 26 日
回答済み: Stephan 2019 年 1 月 26 日
How can I generate random variables from 20 to 30 with decimal points?

回答 (1 件)

Stephan
Stephan 2019 年 1 月 26 日
10*rand(25,1)+20

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by