rename
This commit is contained in:
15
latex/code/mcmthesis-matlab1.m
Executable file
15
latex/code/mcmthesis-matlab1.m
Executable file
@@ -0,0 +1,15 @@
|
||||
function [t,seat,aisle]=OI6Sim(n,target,seated)
|
||||
pab=rand(1,n);
|
||||
for i=1:n
|
||||
if pab(i)<0.4
|
||||
aisleTime(i)=0;
|
||||
else
|
||||
aisleTime(i)=trirnd(3.2,7.1,38.7);
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user