gauss_1.m

来自「GPS software toolbox for GPS receiver de」· M 代码 · 共 18 行

M
18
字号
%                             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 + =
减小字号Ctrl + -
显示快捷键?