TA的每日心情 | 怒 2019-11-29 15:37 |
---|
签到天数: 1 天 [LV.1]初来乍到
|
2 i6 t( T7 ~ w tRAND('state',0) resets the generator to its initial state.- E+ O& r& K' I7 u% r' [9 k
RAND('state',J), for integer J, resets the generator to its J-th state.( b8 g* {, Q& D+ w
RAND('state',J) and RAND('state',S) cause the MATLAB 5 generator to be used.0 |, g% k: R+ ~4 y- O9 D
help 里面解释( _1 H, t9 [, v; l$ R+ Y" J5 `
rand('state',s)Resets the state to s.- c1 s0 U) F2 q2 C7 d, c3 B
rand('state',0)Resets the generator to its initial state.
5 g% |# Y: n7 q% p/ ^) b! V4 Srand('state',j)For integer j, resets the generator to its j-th state.- `# X2 W& T- d% h- y2 Q0 t2 k
|
|