微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 天线设计和射频技术 > REG: Pathloss Exponent using Minimum Mean Square Error estimate

REG: Pathloss Exponent using Minimum Mean Square Error estimate

时间:04-06 整理:3721RD 点击:
Hi all,
I need to calculate the pathloss exponent (n) using MMSE estimate. I have done some calculations and trying it in Matlab to find n. By theoretical calculations, i got n=4.4 but i dint get it while implementing in Matlab. please check Matlab code below which i have tried.

d=[100 200 1000 3000]; %%%distance in metres
do=100; %%%close in reference distance
PL_do=0; %%%reference path loss
n=sym('n');
p1=[0 -20 -35 -70];

for i=1:length(d)
p(i)=-10*n*log(d(i)/do); %%log distance model( here close in reference dist Received power is zero)
j1(i)=p1(i)^2+p(i)^2-(2*p1(i)*p(i));
end

j1=sum(j1);
j_derivative= diff(j1,1);
n_MMSE=solve(j_derivative)

Here, for j i have used (a-b)^2 formula for (p1-p)^2 to implement MMSE and then taking sum of the values and differentiating and equating it to zero to find n. Please tell me if the code is correct for MMSE to find n?

Regards,
David

I got it. In code above, include log10...

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top