diff options
author | Michael Abed <michaelabed@gmail.com> | 2012-04-09 22:28:34 -0400 |
---|---|---|
committer | Michael Abed <michaelabed@gmail.com> | 2012-04-09 22:28:34 -0400 |
commit | 2b61d521c51300575c981a48d256c87cbcf6e478 (patch) | |
tree | e7eb8c6fe6e6b206bcb1285b26c63f87415a7ef8 /pratt2.m | |
parent | f950899cf0133d864abe4fece0fac469e28e8023 (diff) | |
download | ek301-prelim-2b61d521c51300575c981a48d256c87cbcf6e478.tar.gz ek301-prelim-2b61d521c51300575c981a48d256c87cbcf6e478.tar.bz2 ek301-prelim-2b61d521c51300575c981a48d256c87cbcf6e478.zip |
update thinsg
Diffstat (limited to 'pratt2.m')
-rwxr-xr-x | pratt2.m | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pratt2.m b/pratt2.m new file mode 100755 index 0000000..e94b91d --- /dev/null +++ b/pratt2.m @@ -0,0 +1,38 @@ +% EK301, Section A1, Group 7, 4/09/12
+% Michael Abed, ID U55178419
+% Joseph Stone, ID U44434740
+% Ben Havey, ID
+
+% modified pratt truss
+
+C = [
+ 1 1 0 0 0 0 0 0 0 0 0 0
+ 1 0 1 0 0 0 0 0 0 0 0 0
+ 0 1 1 0 0 0 0 0 0 0 0 0
+ 0 0 1 1 0 0 0 0 0 0 0 0
+ 0 1 0 1 0 0 0 0 0 0 0 0
+ 0 1 0 0 1 0 0 0 0 0 0 0
+ 0 0 0 1 1 0 0 0 0 0 0 0
+ 0 0 0 1 0 0 1 0 0 0 0 0
+ 0 0 0 1 0 1 0 0 0 0 0 0
+ 0 0 0 0 1 1 0 0 0 0 0 0
+ 0 0 0 0 0 1 1 0 0 0 0 0
+ 0 0 0 0 0 0 1 1 0 0 0 0
+ 0 0 0 0 0 1 0 1 0 0 0 0
+ 0 0 0 0 0 1 0 0 1 0 0 0
+ 0 0 0 0 0 0 0 1 1 0 0 0
+ 0 0 0 0 0 0 0 1 0 0 1 0
+ 0 0 0 0 0 0 0 1 0 1 0 0
+ 0 0 0 0 0 0 0 0 1 1 0 0
+ 0 0 0 0 0 0 0 0 0 1 1 0
+ 0 0 0 0 0 0 0 0 0 0 1 1
+ 0 0 0 0 0 0 0 0 0 1 0 1
+]';
+
+Sy = zeros(12,3); Sy(1,2) = 1; Sy(12,3)=1;
+Sx = zeros(12,3); Sx(1,1) = 1;
+
+X = [0 8 8 16 16 24 24 32.33 32.33 40.66 40.66 49];
+Y = [0 8 0 0 8 8 0 0 8 8 0 0];
+
+L = zeros(24,1); L(12+7) = -3.92;
|