0001 [a,b] = setup_grid (100,[[1,0.5,0.1];[1,0.3,0.3];[1,0.5,0.5]],[1,2,3],'edge' , 6) 0002 [a,b] = setup_grid (100,[[1,0.5,0.1];[1,0.3,0.3];[1,0.5,0.5]],[1,2,3],'random' , 3) 0003 0004 0005 [a,b] = setup_grid (100,[[1,0.5,0.1,0.3];[1,0.3,0.3,0.3];[1,0.5,0.5,0.3]],[1,2,3],'edge' , 6) 0006 [a,b] = setup_grid (100,[[1,0.5,0.1,1];[1,0.3,0.3,1];[1,0.5,0.5,0.2]],[1,2,3],'random' , 3) 0007 0008 zeros(100,100) 0009 0010 [a,b] = setup_grid (100,zeros(100,100),1:100,'random' , 10) 0011 [a,b] = setup_grid (100,zeros(100,100),1:100,'edge' , 10) 0012 0013 [a,b] = setup_grid (100,zeros(100,100),1:100,'edge' , 10) 0014 [a,b] = setup_grid (100,randn(100,100),1:100,'edge' , 10) 0015 [a,b] = setup_grid (100,randn(100,100),1:100,'random' , 10)