% Truss 01 % A determinant truss with 4 nodes and 4 bars % Daniel D. Warner % January 28, 2008 % There are 4 nodes % The matrix of x,y coordinates for each node (in feet) nodes = [0.0 0.0 3.0 0.0 0.0 2.0 3.0 2.0] % There are 4 bars % The matrix of nodes that are connected by each bar bars = [1 3 2 3 2 4 3 4]