| 查看: 2429 | 回复: 1 | ||
monitor2885至尊木虫 (知名作家)
队长
|
[求助]
如何使用rng设置随机种子
|
|
旧版本的matlab用这个语句设置随机种子randn ('state', sum (100 * clock)) 新版本的matlab说,建议使用rng。请问,上面的语句怎么改成和rng有关的语句? In older versions of MATLAB, you controlled the random number generators that rand and randn used by calling those functions with the seed, state, or twister inputs. That syntax is not recommended. Use the rng function instead. The older generators that MATLAB uses with the seed (MATLAB v4 generator) and state (MATLAB v5 generator) inputs are not recommended. |
» 猜你喜欢
基金中了
已经有8人回复
售SCI文章,我:8O.5.5.1O.54,科目全,可十急
已经有4人回复
听说今天filecode变了
已经有34人回复
filecode
已经有14人回复
固定端突然变了,今天
已经有7人回复
filecode
已经有11人回复
大家散了吧,后缀研究没有意义,别浪费时间了,过好目前的每一天,不要焦虑
已经有6人回复
一个有机合成实验室都需要哪些设备?
已经有12人回复
求各位大神看下
已经有33人回复
咨询面上基金
已经有7人回复
» 本主题相关价值贴推荐,对您同样有帮助:
悉尼科技大学如何?
已经有7人回复
GC9800热导检测二氧化碳的操作参数如何设置?用什么柱子?
已经有4人回复
sci投稿提交的word文档中字体及行间距如何设置?
已经有11人回复
matlab中如何将双坐标系图中的另外一个坐标系设置为当前坐标系呢?
已经有10人回复
origin的坐标轴如何设置小数点位数?
已经有9人回复
如何做石蜡的气相色谱?
已经有6人回复
使用fluent的时候,如何把速度边界设置成与时间?
已经有6人回复
求助在哪能找到随机过程的这个符号
已经有4人回复
种子培养基与一般发酵培养基的不同
已经有3人回复
spss如何设置多个显著性水平?
已经有3人回复
【求助】DMOL3中如何设置团簇自旋?
已经有4人回复

monitor2885
至尊木虫 (知名作家)
队长
- 应助: 6 (幼儿园)
- 贵宾: 0.339
- 金币: 40009
- 散金: 147
- 红花: 22
- 帖子: 5060
- 在线: 2186.8小时
- 虫号: 701577
- 注册: 2009-02-15
- 性别: GG
- 专业: 生态系统生态学

2楼2012-01-19 06:22:43










回复此楼
50