diff options
Diffstat (limited to 'macros/latex/contrib/mcmthesis/code/mcmthesis-matlab1.m')
-rw-r--r-- | macros/latex/contrib/mcmthesis/code/mcmthesis-matlab1.m | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/macros/latex/contrib/mcmthesis/code/mcmthesis-matlab1.m b/macros/latex/contrib/mcmthesis/code/mcmthesis-matlab1.m new file mode 100644 index 0000000000..f03f49fa40 --- /dev/null +++ b/macros/latex/contrib/mcmthesis/code/mcmthesis-matlab1.m @@ -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 + + + + + +
\ No newline at end of file |