Skip to content
Snippets Groups Projects
Commit 2b94477b authored by Claudio Mandrioli's avatar Claudio Mandrioli
Browse files

removed wrong comments

parent b4963b21
No related branches found
No related tags found
No related merge requests found
......@@ -301,12 +301,12 @@ end
function sv=random_satellites(sv_old)
coin=random('uniform',0,1);
sv=sv_old;
if sv_old==6 %simulate satellite loss of visibility
if sv_old==6
if coin<0.005
sv=5;
end
end
if sv_old==5 %simulate satellite loss of visibility
if sv_old==5
if coin>0.99
sv=6;
end
......@@ -314,7 +314,7 @@ if sv_old==5 %simulate satellite loss of visibility
sv=4;
end
end
if sv_old==4 %simulate satellite loss of visibility
if sv_old==4
if coin>0.99
sv=5;
end
......@@ -322,7 +322,7 @@ if sv_old==4 %simulate satellite loss of visibility
sv=3;
end
end
if sv_old==3 %simulate satellite loss of visibility
if sv_old==3
if coin>0.95
sv=4;
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment