From 2ad700f049fc8b62c33eab73c641cf67e81effbc Mon Sep 17 00:00:00 2001 From: Michael Abed Date: Sat, 7 Apr 2012 23:14:17 -0400 Subject: a --- maxLoad.m | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 maxLoad.m 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 -- cgit v1.2.3-54-g00ecf