TA的每日心情 | 怒 2019-11-29 15:37 |
|---|
签到天数: 1 天 [LV.1]初来乍到
|
0 L, k2 J9 s/ X4 o4 i3 D5 y
RAND('state',0) resets the generator to its initial state.) N' ?5 h6 z5 X0 K& S! a1 @, n
RAND('state',J), for integer J, resets the generator to its J-th state.
4 F, w! s |0 b/ D2 x1 q6 S LRAND('state',J) and RAND('state',S) cause the MATLAB 5 generator to be used.
1 y6 C0 R- D \; y3 @2 [2 F/ Thelp 里面解释
; m& [9 \% j- Xrand('state',s)Resets the state to s.3 X4 @6 Y a2 A: G) U
rand('state',0)Resets the generator to its initial state. . j* I) I- K" p$ V" U# Q- h
rand('state',j)For integer j, resets the generator to its j-th state.
% M1 [1 T1 i& n" l: \: M3 l: g5 R |
|