📄 gauss_1.m
字号:
% gauss_1.m
% Scope: This MATLAB macro computes the probability density function of the
% normal Gaussian distribution.
% Usage: xoutput = gauss_1(x,y)
% Description of parameters:
% x - input, scalar independent variable
% y - input, scalar dependent variable
% xoutput - output, computed probability density function
% Remark: This macro can be used for the computation of the integral of the
% probability density function.
% Last update: 04/07/00
% Copyright (C) 1997-00 by LL Consulting. All Rights Reserved.
function xoutput = gauss_1(x,y)
xoutput = exp(-0.5*x.^2)/sqrt(pi+pi);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -