フィルターのクリア

what the folllowing code results: unidrnd(1000:1000,100,2)

1 回表示 (過去 30 日間)
Basanta
Basanta 2011 年 3 月 11 日
r=unidrnd(1000:1000,100,2)

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 3 月 11 日
1000:1000 is the same as plain 1000, so the code is the same as
r = unidmd(1000,100,2)
This means that a 100 by 2 matrix of random numbers should be generated, each of which is an integer from 1 to 1000.

Community Treasure Hunt

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

Start Hunting!

Translated by