Skip to content

Commit

Permalink
Memory Preallocation
Browse files Browse the repository at this point in the history
  • Loading branch information
tranlenam committed Sep 15, 2023
1 parent b9f4097 commit 5645ac0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Algorithm1AS.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
[sumrate,gamma0] = ComputeSumRate(h,w0,effnoisepower);
converengeflag =0;
solver_time = 0;
sumRateProgressAlg2adaptive =[];
objProgress = zeros(maxIteration,1);
sumRateProgressAlg2adaptive=zeros(maxIteration,1);
for iIter = 1:maxIteration
obj = 0;
for iUser = 1:nUsers
Expand Down

0 comments on commit 5645ac0

Please sign in to comment.