Received Power Vs Distance

Hi Everyone;
My MATLAB code result in the received power increases with distance as shown in the figure in spite I use Friis formula. Where is my mistake.
Pr=Pt*Gt*Gr*lambda^2./16*pi^2.*(Z).^2; %Friis Formula

 Accepted Answer

If Z is distance then you should probably have
Pr=Pt*Gt*Gr*lambda^2./(16*pi^2.*Z.^2);
Note the position of the parentheses. In your version Z is on the numerator.

3 Comments

Thanks, Mr.Alan Stevens for your reply. I think the problem was solved as shown in the new figure. Are you mean that the problem was the parentheses? Is the formula correct for the received power?
Thanks a lot
Yes, the problem was the positioning of the parentheses.
I've no idea if the formula is correct in total, but power almost certainly decreases with distance away from the source.
Thanks a lot Mr.Alan Stevens.

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Tags

Asked:

on 2 Sep 2020

Commented:

on 3 Sep 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!