summaryrefslogtreecommitdiff
path: root/solveTruss.m
diff options
context:
space:
mode:
authorMichael Abed <michaelabed@gmail.com>2012-04-07 21:41:05 -0400
committerMichael Abed <michaelabed@gmail.com>2012-04-07 21:41:05 -0400
commit16a2b71748b2b11e24f97da4fce86187152a5aa5 (patch)
tree585e50bb25ff5b4375a0cd3b56d62c474b27948d /solveTruss.m
parent4d6abebe7d7ee44053c3cbacf779d664a704f4c6 (diff)
downloadek301-prelim-16a2b71748b2b11e24f97da4fce86187152a5aa5.tar.gz
ek301-prelim-16a2b71748b2b11e24f97da4fce86187152a5aa5.tar.bz2
ek301-prelim-16a2b71748b2b11e24f97da4fce86187152a5aa5.zip
up to date
Diffstat (limited to 'solveTruss.m')
-rwxr-xr-xsolveTruss.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/solveTruss.m b/solveTruss.m
new file mode 100755
index 0000000..d8ffed9
--- /dev/null
+++ b/solveTruss.m
@@ -0,0 +1,4 @@
+function [ T ] = solveTruss( C, Sx, Sy, X, Y, L )
+ A = computeA(C, X, Y, Sx, Sy);
+ T = A\(-L);
+end \ No newline at end of file