TA的每日心情 | 怒 2019-11-29 15:37 |
---|
签到天数: 1 天 [LV.1]初来乍到
|
( \4 w% q! u5 q) h& Y
RAND('state',0) resets the generator to its initial state.
j5 J5 I1 e$ i8 @7 u# aRAND('state',J), for integer J, resets the generator to its J-th state.; _6 K' q% y9 D9 o8 ?
RAND('state',J) and RAND('state',S) cause the MATLAB 5 generator to be used.
9 h8 G! Y- @% a9 Z& A" {$ o$ z$ nhelp 里面解释
4 v! F. _& t, E& ` m* }: p9 Frand('state',s)Resets the state to s.0 l$ \, a# J9 O& j
rand('state',0)Resets the generator to its initial state. $ y3 t/ }' u9 p% l# K+ s
rand('state',j)For integer j, resets the generator to its j-th state.5 a& l9 @* s0 \4 |
|
|