% D = The n vertex coordinates of the wireframe Toyota model % and C = the nxn connection structure of the Toyata wireframe % representation are constructed D1 = [ -6.5, -6.5, -6.5, -6.5, -2.5, -2.5, -0.75, -0.75, 3.25, 3.25; -2 , -2 , 0.5, 0.5, 0.5, 0.5, 2 , 2 , 2 , 2 ; -2.5, 2.5, 2.5, -2.5, -2.5, 2.5, -2.5 , 2.5 ,-2.5 , 2.5 ; 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 ; ]; D2 = [ 4.5, 4.5, 6.5, 6.5, 6.5, 6.5; 0.5, 0.5, 0.5, 0.5, -2 , -2 ; -2.5, 2.5, -2.5, 2.5, 2.5, -2.5; 1 , 1 , 1 , 1 , 1 , 1 ; ]; D = [ D1, D2]; %Pnt 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 C = [ 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1; 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0; 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0; 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0; 0, 0, 0, 0, 0, 0, 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