gauss_pdf.m
来自「扩展卡尔曼和无迹卡尔曼的matlab仿真比较。」· M 代码 · 共 29 行
M
29 行
%GAUSS_PDF Multivariate Gaussian PDF
%
% Syntax:
% [P,E] = GAUSS_PDF(X,M,S)
%
% In:
% X - Dx1 value or N values as DxN matrix
% M - Dx1 mean of distibution or N values as DxN matrix.
% S - DxD covariance matrix
%
% Out:
% P - Probability of X.
% E - Negative logarithm of P
%
% Description:
% Calculate values of PDF (Probability Density
% Function) of multivariate Gaussian distribution
%
% N(X |燤, S)
%
% Function returns probability of X in PDF. If multiple
% X's or M's are given (as multiple columns), function
% returns probabilities for each of them. X's and M's are
% repeated to match each other, S must be the same for all.
%
% See also:
% GAUSS_RND
% Copyright (C) 2002 Simo S鋜kk
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?