- #1
Avatrin
- 245
- 6
Hi
Lets say I have a txt file with m rows with n columns of numbers of the form:
Lets say I want to take every p'th row and take the second and third columns and turn it into a [itex]\frac{m}{p}\times 2[/itex] matrix. How would I go about doing that?
Lets say I have a txt file with m rows with n columns of numbers of the form:
1 .12222E+01 .27300E+01 -.41442E+01 -.49391E+00
1 .80375E+00 .15953E+00 .47715E+00 -.10432E+01
2 .11046E+01 .79376E-01 -.12639E+00 -.10389E+00
2 -.95291E-02 -.54210E+01 .36199E+00 -.13710E+01
2 .16524E+00 -.27779E+01 .74098E+00 -.34125E+00
Lets say I want to take every p'th row and take the second and third columns and turn it into a [itex]\frac{m}{p}\times 2[/itex] matrix. How would I go about doing that?