Loading first few lines from data file

iamsuddhasattwa
Sun, 03 Mar 2019 01:24:04 +0000
General Usage

Hi, I have a data file with 100 rows of data of the form
1 2
3 4
5 6.1
…

I want to load the first 10 lines as a 10X2 array. However, I do not see any option in readdlm() for doing that, although it should be an easy task.

20 posts - 7 participants