TA的每日心情 | 怒 2019-11-29 15:37 |
---|
签到天数: 1 天 [LV.1]初来乍到
|
8 Q9 m$ A. Z: w- t; l, _7 U' oRAND('state',0) resets the generator to its initial state./ n: g; }# j# @
RAND('state',J), for integer J, resets the generator to its J-th state.
+ u1 L9 r8 i. |! j0 i; m3 f$ VRAND('state',J) and RAND('state',S) cause the MATLAB 5 generator to be used.* s( |% S& h( [) P, {$ A
help 里面解释
1 r+ X" w& R9 b' J7 a4 y R: urand('state',s)Resets the state to s.
; Q7 d* |, m5 F; @rand('state',0)Resets the generator to its initial state.
+ f( _# r) r) j/ o$ Q) {# N3 Grand('state',j)For integer j, resets the generator to its j-th state.
8 Z: ~. ]- B' ~6 u/ } |
|