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

Home » Public Forums » archive » Extracting info from the ASCII file with IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Extracting info from the ASCII file with IDL [message #73588] Thu, 18 November 2010 07:38
Sasha Singh is currently offline  Sasha Singh
Messages: 13
Registered: November 2010
Junior Member
Hi,
I have a ASCII text file whose entries look like this

111 AA 25 XX
111 AB -5 XX
222 AC 25 XX
222 AD 20 XX
222 AE 21 XX
333 AF 88 XX
444 AG 21 XX
444 AH 90 XX
and so on.....
In this file the first column represents a unique number refering to
an experiment. Any particular experiment
was repeated a random number of times, such as experiment 111 was
repeated twice, experiment 222 was
repeated 3 times, experiment 333 was done only once. I need to know
how many unique experiments were done.
To clarify it further, in above example 4 experiments (111, 222, 333
and 444) were done. I need to know this in a file which has 1300 rows.
Please help.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Problems with ERODE and DILATE functions
Next Topic: Re: Extracting info from the ASCII file with IDL

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

Current Time: Wed Oct 08 15:47:57 PDT 2025

Total time taken to generate the page: 0.00518 seconds