Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Deep Reinforcement Learning for Handovers in Mobile Networks with Transparent UAV Relays
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mobile and Wireless
Codes
Publications
Deep Reinforcement Learning for Handovers in Mobile Networks with Transparent UAV Relays
Commits
551eb367
Commit
551eb367
authored
10 months ago
by
Ramsha Narmeen
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
e5a050c5
Branches
main
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SINR_function.m
+23
-0
23 additions, 0 deletions
SINR_function.m
with
23 additions
and
0 deletions
SINR_function.m
0 → 100644
+
23
−
0
View file @
551eb367
function SINR = SINR_function(Number_MS,Number_BS,RSS, PL, N_W,BS_assoc,Pt,Pt_FlyBS)
SINR=zeros(Number_MS,1);
NI=zeros(Number_MS,1);
for i=1:Number_MS
for j=1:Number_BS
if BS_assoc(i,2)~=j
NI(i,1) = NI(i,1) + 10.^-3*10.^(RSS(i)/10);
end
end
NI(i,1) = NI(i,1) + N_W;
NI(i,1)=10*log10(NI(i,1)/0.001);
for j=1:Number_BS
if BS_assoc(i,2)==j
if j
<
=4
SINR
(
i
,1
)=
Pt-PL(i,BS_assoc(i,2))-NI(i,1);
end
if
j
>
4
SINR(i,1)=Pt_FlyBS-PL(i,BS_assoc(i,2))-NI(i,1);
end
end
end
end
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment