summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mcmthesis/code/mcmthesis-matlab1.m
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/mcmthesis/code/mcmthesis-matlab1.m')
-rw-r--r--Master/texmf-dist/doc/latex/mcmthesis/code/mcmthesis-matlab1.m15
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/mcmthesis/code/mcmthesis-matlab1.m b/Master/texmf-dist/doc/latex/mcmthesis/code/mcmthesis-matlab1.m
new file mode 100644
index 00000000000..f03f49fa40f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/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