TA的每日心情 | 怒 2019-11-29 15:37 |
|---|
签到天数: 1 天 [LV.1]初来乍到
|
RAND('state',0) resets the generator to its initial state., a* G' b! ?) M. Z, Y* i% ^* W
RAND('state',J), for integer J, resets the generator to its J-th state.
" D; W( ~( U+ @/ VRAND('state',J) and RAND('state',S) cause the MATLAB 5 generator to be used.7 B' B, D( N8 X) b
help 里面解释& h4 l3 `( V+ V C" `, ~, p- |
rand('state',s)Resets the state to s.
' ]5 q' C' f. Drand('state',0)Resets the generator to its initial state.
6 U" B6 t/ ~! @* Q+ srand('state',j)For integer j, resets the generator to its j-th state. |
|