 <p>It is quite simple. Just go through and let me know in case you need some clarity. public class ThreeDto2D {</p> <pre><code>public static void main(String[] args) { double[][] data= {{97, 36, 79}, {94, 74, 60}, {68, 76, 58}, {64, 87, 56}, {68, 27, 73}, {74, 99, 42}, {7, 93, 87}, {51, 69, 40}, {38, 23, 33}, {57, 86, 31}}; double data1[] = new double[data.length]; double data2[] = new double[data.length]; double data3[] = new double[data.length]; for (int x= 0;x &lt; data.length;x++) { for (int y=0; y &lt; data[x].length ;y++) { if (y==0) data1 [x] = data [x][y]; else if (y==1) data2 [x] = data [x] [y]; else if (y==2) data3 [x] = data [x] [y]; } } for (int i=0;i&lt;data1.length;i++) { System.out.print(data1[i]+" "); System.out.print(data2[i]+" "); System.out.print(data3[i]+" "); System.out.println(); } } </code></pre> <p>}</p> <p>Output : 97.0 36.0 79.0 94.0 74.0 60.0 68.0 76.0 58.0 64.0 87.0 56.0 68.0 27.0 73.0 74.0 99.0 42.0 7.0 93.0 87.0 51.0 69.0 40.0 38.0 23.0 33.0 57.0 86.0 31.0</p>