I have a file containing the following strings:
1 40.870 0.710 570 363
0.00000E+00
2 40.960 0.870 575 367
0.00000E+00
3 41.210 0.980 578 378
0.00000E+00
And I need to convert it in a matrix like that:
40.870 0.710 0.000
40.960 0.870 0.000
41.210 0.980 0.000
Any help would be greatly appreciated