summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Abed <michaelabed@gmail.com>2012-04-07 23:14:17 -0400
committerMichael Abed <michaelabed@gmail.com>2012-04-07 23:14:17 -0400
commit2ad700f049fc8b62c33eab73c641cf67e81effbc (patch)
tree68c19cbf50c49ab44036774307e7e5390205afdd
parente3335af247c438ca2d7ef4f155afa3987f3a2016 (diff)
downloadek301-prelim-2ad700f049fc8b62c33eab73c641cf67e81effbc.tar.gz
ek301-prelim-2ad700f049fc8b62c33eab73c641cf67e81effbc.tar.bz2
ek301-prelim-2ad700f049fc8b62c33eab73c641cf67e81effbc.zip
a
-rwxr-xr-xmaxLoad.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/maxLoad.m b/maxLoad.m
new file mode 100755
index 0000000..faf0366
--- /dev/null
+++ b/maxLoad.m
@@ -0,0 +1,12 @@
+function [ m ] = maxLoad(T, L, D, idx)
+ L1 = abs(L(L ~= 0));
+ T1 = abs(T(idx));
+ ml = D(idx);
+ B = breaking(ml);
+ ratio = T1/B;
+ m = L1 / ratio;
+end
+
+function [ F ] = breaking(L)
+ F = 369.9./(abs(L).^1.465);
+end \ No newline at end of file