format compat {Error using format Unknown command option. } format compact X = randn(15,2) X = 0.5377 -0.2050 1.8339 -0.1241 -2.2588 1.4897 0.8622 1.4090 0.3188 1.4172 -1.3077 0.6715 -0.4336 -1.2075 0.3426 0.7172 3.5784 1.6302 2.7694 0.4889 -1.3499 1.0347 3.0349 0.7269 0.7254 -0.3034 -0.0631 0.2939 0.7147 -0.7873 T = delaunay(X); T T = 5 9 3 6 7 14 7 6 3 11 3 6 11 6 14 5 11 14 5 3 11 8 13 2 4 9 5 14 8 5 8 4 5 8 14 1 8 1 13 10 12 4 12 9 4 7 1 14 7 15 1 13 15 2 4 8 2 1 15 13 4 2 10 A = assmbl1(T, X); spy(A) gplot(A,X) spy(A) hdis size(A) ans = 84 84 spy(A) hdis more on A A = (1,1) 2 (2,1) 1 (22,1) 1 (23,1) 2 (1,2) 1 (2,2) 3 (3,2) 1 (23,2) 2 (24,2) 2 (2,3) 1 (3,3) 3 (4,3) 1 (24,3) 2 (25,3) 2 (3,4) 1 (4,4) 3   diary off