# 条件概率密度函数 matlab画图,用MATLAB画某二维联合分布的概率密度图，出现了如下问题...

>> x=0:6.5:650;

y=0:27:2700;

[x,y]=meshgrid(x,y);

F=(669126134152931648175758856558983806728427764752864631.*35184372088832.^(1819./5000).*3695207012694701.^(3181./5000).*gamma(3181./5000))./642775217703596110216784836936465041008881197513117134120550400000000 - (6958236045425711425937142107971.*x.^(8181./5000).*exp(-(35184372088832.*x)./3695207012694701))./20769187434139310514121985316880384 - (669126134152931648175758856558983806728427764752864631.*35184372088832.^(1819./5000).*3695207012694701.^(3181./5000).*igamma(3181./5000, (35184372088832.*x)./3695207012694701))./642775217703596110216784836936465041008881197513117134120550400000000 - (210350875244555689461099923470287270269860976030451.*x.^(3181/5000).*exp(-(35184372088832.*x)./3695207012694701))./3653754093327257295509212081790707549139831357440000;

F2=(3926477034605225449330639167562343.*2.^(7551./10000).*5915813241695293.^(4243./10000).*gamma(4243./10000))/68056473384187692692674921486353642291200 - (23135028485772009482268672917525.*y.^(4243./10000).*exp(-(8796093022208.*y)./5915813241695293))./324518553658426726783156020576256 - (3926477034605225449330639167562343.*2.^(7551./10000).*5915813241695293.^(4243./10000).*igamma(4243./10000, (8796093022208.*y)./5915813241695293))./68056473384187692692674921486353642291200;

Z=exp(-((-log(F)).^2.459821+(-log(F2)).^2.459821).^0.406534);

surfl(x,y,Z)

X、Y、Z 和 C 不能是复数。

h = surf(cax,x,y,z);

1575703989(1).jpg

(19.39 KB, 下载次数: 9)

2019-12-7 15:37 上传

• 0
点赞
• 0
评论
• 0
收藏
• 一键三连
• 扫一扫，分享海报

03-02
03-14 792

02-27
02-27
09-12 9048
03-04 1万+
03-01 1001
09-13 2万+
04-07 1万+
07-29 4625