matlab中mvnpdf函数,在matlab中画高斯分布 这个语句的含义请详细解释一下 z=mvnpdf(X,mu1,sigma1)...

编程入门 行业动态 更新时间:2024-10-08 13:32:02

matlab中mvnpdf函数,在matlab中画高斯分布 这个<a href=https://www.elefans.com/category/jswz/34/1770772.html style=语句的含义请详细解释一下 z=mvnpdf(X,mu1,sigma1)..."/>

matlab中mvnpdf函数,在matlab中画高斯分布 这个语句的含义请详细解释一下 z=mvnpdf(X,mu1,sigma1)...

匿名用户

1级

2015-01-13 回答

Y = MVNPDF(X,MU,SIGMA) returns the density of the multivariate normal

distribution with mean MU and covariance SIGMA, evaluated at each row

of X. SIGMA is a D-by-D matrix, or an D-by-D-by-N array, in which case

the density is evaluated for each row of X with the corresponding page

of SIGMA, i.e., MVNPDF computes Y(I) using X(I,:) and SIGMA(:,:,I).

If the covariance matrix is diagonal, containing variances along the

diagonal and zero covariances off the diagonal, SIGMA may also be

specified as a 1-by-D matrix or a 1-by-D-by-N array, containing

just the diagonal. Pass in the empty matrix for MU to use its default

value when you want to only specify SIGMA.

If X is a 1-by-D vector, MVNPDF replicates it to match the leading

dimension of MU or the trailing dimension of SIGMA.

Example:

mu = [1 -1]; Sigma = [.9 .4; .4 .3];

[X1,X2] = meshgrid(linspace(-1,3,25)', linspace(-3,1,25)');

X = [X1(:) X2(:)];

p = mvnpdf(X, mu, Sigma);

surf(X1,X2,reshape(p,25,25));

See also mvtpdf, mvncdf, mvnrnd, normpdf.

Reference page in Help browser

doc mvnpdf

这是e69da5e6ba90e79fa5e9819331333337373630matlab里面关于mvnpdf函数的说明,你看下就好。

追问:

这个我也能找到,我需要详细的中文解释

更多推荐

matlab中mvnpdf函数,在matlab中画高斯分布 这个语句的含义请详细解释一下 z=mvnpdf(X,mu1,sigma1)...

本文发布于:2024-03-09 02:02:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1723337.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:语句   函数   高斯   含义   详细

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!