gauss.m
来自「这是本战略战术导弹制导的书中的matlab程序,比书中的 forchan程序简单」· M 代码 · 共 19 行
M
19 行
function y=gauss(x,sig)
% GAUSS Function used to calculate a Gaussian distribution
% for use with program listings in Chapter 4 -Zarchan
% The above message is seen if help gauss is typed.
sum=0;
for j=1:12;
RAND=rand(1);
sum=sum+RAND;
end;
x=sum-6;
y=x*sig;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?