Debian Codegraph @

texmf-dist/doc/latex/mcmthesis/code/mcmthesis-matlab1.m

raw
1 function [t,seat,aisle]=OI6Sim(n,target,seated)
2 pab=rand(1,n);
3 for i=1:n
4 if pab(i)<0.4
5 aisleTime(i)=0;
6 else
7 aisleTime(i)=trirnd(3.2,7.1,38.7);
8 end
9 end
10
11
12
13
14
15