Vote count:
0
lambda_1 = 10^(-3); lambda2=2*10^(-3);
P_BS_1_dbm=46; P_BS_1=10^((P_BS_1_dbm-30)/10);
P_BS_2_dbm=37; P_BS_2=10^((P_BS_2_dbm-30)/10);
L_0_dB=-38.5; L_0=10.^(L_0_dB/10);
alpha_1 =2.8;
eta=0.5; alpha=0.45; rho=0.5;
phi=etarhoalpha/(1-alpha);
P_thdB=-50; P_th=10^(P_thdB/10);
d=1;
Houta(1,m)=((1./2)-(((2.(lambda_1+lambda2)).(quadgk(@(t) ((quadgk(@(x)(imag((1./(1-(1j.*t.*P_BS_1.*L_0.d.^(-alpha_1)))).... x.*(exp((-1.*1j.*t.P_th.(phi).^(-1))-(pi.*(lambda_1+lambda2).x.^2))).... (conj(exp((pi.lambda_1.(((P_BS_1.*L_0)).^(2./alpha_1)).*gamma(1+(2./alpha_1)).gamma(1-(2./alpha_1)).... (1j.t).^(2./alpha_1))))))),0,d))./t),0,inf)))))+((1./2)-(((2.(lambda_1+lambda2)).*(quadgk(@(t) ((quadgk(@(x) ... (imag((1./(1+(1j.*t.*P_BS_1.*L_0.*x.^(-alpha_1)))).x.(exp((-1.*1j.*t.P_th.(phi).^(-1))-(pi.*(lambda_1+lambda2).x.^2))).... (conj(exp((pi.lambda2.(((P_BS_2.*L_0)).^(2./alpha_2)).*gamma(1+(2./alpha_2)).gamma(1-(2./alpha_2)).... (1j.*t).^(2./alpha_2))))))),d,inf))./t),0,inf)))));
'Error using .* Matrix dimensions must agree.',
Aucun commentaire:
Enregistrer un commentaire