📄 randrand.m
字号:
% RANDRAND - Reset both Random Number Generator Seeds to the clock% Copyright (c) 1998, Harvard University. Full copyright in the file Copyright% % Note: there are two random number generators in Matlab % one for normals and one for everything else.% For reseting the normal random seed use randn('state', ...)% and for all others use rand('state, ...).%% This program initializes both off the system clock.%randn('state',sum(100*clock)) ;rand('state',sum(100*clock)+10*normrnd(0,1,1,1)^2) ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -