summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/mcmthesis/code/mcmthesis-matlab1.m
blob: f03f49fa40fb11499106b5a2f12b9102f1554d1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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