📄 setmyseed.m
字号:
function setMySeed(mySeed)%% set the seed -- matlab seems to do this in a screwy way, once%% for rand and once for randn and all other functions...randn('seed',mySeed);rand('seed',mySeed);%% note that lightspeed has some functions which will bypass this and%% always be random, such as sample_hist.m, for example
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -