comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » how can I read many columns and rows
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how can I read many columns and rows [message #92946 is a reply to message #92945] Thu, 31 March 2016 09:39 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Thursday, March 31, 2016 at 10:55:03 AM UTC-4, Ali Gamal wrote:
> On Tuesday, March 29, 2016 at 8:21:02 PM UTC+2, Ali Gamal wrote:
>> Hi everyone,
>> I have data file contains 30 column, every column contains 20 row. How can I read this file ?
>
> I have file data contains many columns, I want to know How can I read this file?, then how can I define each column to use this column in mathematical operations?.

Several previous posters already told you how to read the data into an array.

Once you have an array, arr, then you can, for example, select the 6th column

column5 = arr[5,*]
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Response function of a detector in IDL
Next Topic: Coyote Returns

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:28:48 PDT 2025

Total time taken to generate the page: 0.00418 seconds