matlab 指定区间随机取任意个数

2025-06-23 07:41:12
推荐回答(1个)
回答1:

随机整数?randint(矩阵的行数,矩阵的列数,[矩阵数的下限,矩阵数的上限])你的例子randint(10,1, [20 ,40])