matlab二元正态分布mvnpdf中Sigma矩阵式什么意思啊?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));如果我要单单该Si

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 22:28:49

matlab二元正态分布mvnpdf中Sigma矩阵式什么意思啊?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));如果我要单单该Si
matlab二元正态分布mvnpdf中Sigma矩阵式什么意思啊?
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));
如果我要单单该Sigma 1 那要怎么改?(上面这个是help mvnpdf中的例子)

matlab二元正态分布mvnpdf中Sigma矩阵式什么意思啊?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));如果我要单单该Si
是协方差矩阵.在协方差矩阵里面,对角线就是对应的方差.