summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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