TA的每日心情 | 怒 2019-11-29 15:37 |
|---|
签到天数: 1 天 [LV.1]初来乍到
|
3 h& p" N+ [1 F! c0 r6 x
RAND('state',0) resets the generator to its initial state.7 J& o; E4 t% M1 ?
RAND('state',J), for integer J, resets the generator to its J-th state.
+ E: V5 ]: y# g$ d3 ]9 K3 cRAND('state',J) and RAND('state',S) cause the MATLAB 5 generator to be used.$ T5 O# r$ g: m- x
help 里面解释% M. O- P" _$ f) `
rand('state',s)Resets the state to s.
8 r7 {( D& J+ Jrand('state',0)Resets the generator to its initial state. + n# R! q7 C9 e& j" a7 X% i9 l
rand('state',j)For integer j, resets the generator to its j-th state.8 Q7 s. [* C, b# ~1 g6 {
|
|