Skip to content

Commit

Permalink
Clarification in the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
emilbjornson committed Jul 29, 2021
1 parent f6b653b commit 4e42949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/section1_figure13.m
Expand Up @@ -7,7 +7,7 @@
%
%For further information, visit: https://www.massivemimobook.com
%
%This is version 1.0 (Last edited: 2017-11-04)
%This is version 1.01 (Last edited: 2021-07-29)
%
%License: This code is licensed under the GPLv2 license. If you in any way
%use this code for research that results in publications, please cite our
Expand Down Expand Up @@ -42,7 +42,7 @@
%Go through different number of antennas
for mindex = 1:length(M)

%Compute the g-function in (1.28), but implemented slightly differently
%Compute the g-function in (1.28), but implemented slightly differently using the identity sin^2(x)= (1-cos(2x))/2
interferenceGainLoS(:,mindex) = ((1-cos(argument*M(mindex)))./(1-cos(argument)))/M(mindex);

end
Expand Down

0 comments on commit 4e42949

Please sign in to comment.