Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.1K Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

ReadList - reading data from middle of data file

Posted 10 years ago

Hi, I'm just starting to learn Mathematica and have the need to plot large data files, how can I select only specific data from the file. The documentation I've seen explains how to read only the first N samples but I have not seen a way to grab data from the middle of the file.

All help appreciated,

Ed

POSTED BY: Ed Freyenhagen

The easiest way to work with a data file is to Import the entire thing and then work with it. Is the file too big for that?

If you want to select the middle section of a table of data, you can use Part with ";;" syntax.

myData[[All, 50;;100]]

That selects All Columns and the 50th thru 100th rows of the dataset called myData.

POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard