| 查看: 2373 | 回复: 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. |
» 猜你喜欢
存款400万可以在学校里躺平吗
已经有36人回复
英文综述是否需要润色及查重
已经有5人回复
救命帖
已经有5人回复
限项规定
已经有5人回复
为什么nbs上溴 没有产物点出现呢
已经有9人回复
招博士
已经有3人回复
最失望的一年
已经有18人回复
» 本主题相关价值贴推荐,对您同样有帮助:
悉尼科技大学如何?
已经有7人回复
GC9800热导检测二氧化碳的操作参数如何设置?用什么柱子?
已经有4人回复
sci投稿提交的word文档中字体及行间距如何设置?
已经有11人回复
matlab中如何将双坐标系图中的另外一个坐标系设置为当前坐标系呢?
已经有10人回复
origin的坐标轴如何设置小数点位数?
已经有9人回复
如何做石蜡的气相色谱?
已经有6人回复
使用fluent的时候,如何把速度边界设置成与时间?
已经有6人回复
求助在哪能找到随机过程的这个符号
已经有4人回复
种子培养基与一般发酵培养基的不同
已经有3人回复
spss如何设置多个显著性水平?
已经有3人回复
【求助】DMOL3中如何设置团簇自旋?
已经有4人回复

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

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













回复此楼