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
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