条件概率密度函数 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)

错误使用 surf (line 74)

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

出错 surfl (line 133)

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

1575703989(1).jpg

(19.39 KB, 下载次数: 9)

2019-12-7 15:37 上传

442a53943febe9465fc072b4fbe10813.gif

b2a5a3e0dcc7d508e00275fe42fce1b5.gif

1cf06dbae90924f4881cd6a4341ab722.png

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

表情包
插入表情
评论将由博主筛选后显示,对所有人可见 | 还能输入1000个字符
©️2021 CSDN 皮肤主题: 深蓝海洋 设计师:CSDN官方博客 返回首页
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值