Skip to content
Snippets Groups Projects
Commit 1f2d5a30 authored by Ishtiaq Ahmad's avatar Ishtiaq Ahmad
Browse files

Upload New File

parent adba471a
No related branches found
No related tags found
No related merge requests found
function [userPowers] = DNNPC_output(bandwidth,~,noise_var,targetCap,initialPower,channels,~,RSS_D2D)
userPowers = (((2.^((targetCap./sum(channels))/((bandwidth/56)/1e6))-1)*noise_var)./RSS_D2D);
if sum(userPowers)>initialPower
userPowers = userPowers.*(initialPower./sum(channels.*userPowers));
end
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment