MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]请问如何产生随机的0 1序列 (https://www.labfans.com/bbs/showthread.php?t=3484)

rongyihit 2008-06-06 16:44

[求助]请问如何产生随机的0 1序列
 
如题,谢谢!

watcher 2008-06-06 17:21

先产生随机正整数序列,然后对2求余

fgabertb 2008-06-07 20:47

請用 randint:smile:


所有时间均为北京时间。现在的时间是 12:57

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.