Commit 2b94477b authored by Claudio Mandrioli's avatar Claudio Mandrioli
Browse files

removed wrong comments

parent b4963b21
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment