1-120000中的200个随机数

来源:百度知道 编辑:UC知道 时间:2024/05/31 20:55:06
我想得到这200个随机数,怎样得到 谢谢。。
我要的是数 不是程序!!!

>>A=randperm(120000);A=A(:,1:200)
(Matlab6.5)

满足你的要求吧
A =

Columns 1 through 6

39751 6804 102748 50139 1023 43516

Columns 7 through 12

69141 9283 47467 77276 17958 63643

Columns 13 through 18

94066 15875 7055 103001 74878 83182

Columns 19 through 24

46695 92947 35403 53764 34367 45641

Columns 25 through 30

87244 93193 112923 31603 53101 59359

Columns 31 through 36

99492 980 68538 48167 82284 85171

Columns 37 through 42

116714 29294 106818 30409 14561 69887

Columns 43 through 48

88769 28300