From f950899cf0133d864abe4fece0fac469e28e8023 Mon Sep 17 00:00:00 2001 From: Michael Abed Date: Sun, 8 Apr 2012 00:28:17 -0400 Subject: pratt --- pratt.m | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pratt.m diff --git a/pratt.m b/pratt.m new file mode 100644 index 0000000..b71ae70 --- /dev/null +++ b/pratt.m @@ -0,0 +1,31 @@ +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 0 1 0 1 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 0 1 0 1 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,21); Sy(1,2) = 1; Sy(12,3)=1; +Sx = zeros(12,21); Sx(1,1) = 1; + +X = [0 8 8 16 16 24 24 32 32 40 40 48]; +Y = [0 8 0 0 8 8 0 0 8 8 0 0]; + +L = zeros(24,1); L(12+7) = -3.92; -- cgit v1.2.3-54-g00ecf