Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!f63g2000hsf.googlegroups.com!not-for-mail
From: Engeltje <Engeltje81@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: extract dynamically the headerlines row numvber by string/number 
Date: Mon, 30 Jun 2008 01:44:09 -0700 (PDT)
Organization: http://groups.google.com
Lines: 36
Message-ID: <8aeb59ff-158a-4e45-972c-253d34fa6df3@f63g2000hsf.googlegroups.com>
References: <2924bec5-2274-4b3b-8354-20b34f59add2@m3g2000hsc.googlegroups.com> 
NNTP-Posting-Host: 151.80.8.31
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1214815450 11206 127.0.0.1 (30 Jun 2008 08:44:10 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 30 Jun 2008 08:44:10 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: f63g2000hsf.googlegroups.com; posting-host=151.80.8.31; 
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.14) 
Xref: news.mathworks.com comp.soft-sys.matlab:476566



On 29 Giu, 21:15, Rune Allnor <all...@tele.ntnu.no> wrote:
> On 29 Jun, 20:27, Engeltje <Engeltj...@gmail.com> wrote:
>
> > hi, everybody...I had a problem.
> > I work with some namefile.tsv (a kind of txt files) that arecomposed
> > by some headerlines, containg string values and number values in Date
> > format and in the end of the file it contains some numerical colomns.
> > I want
> > either the row number of the begin of these numerical data, descarting
> > the headerlines, end the row number of the end of the file
> > or just the numbers contained in the end of the file disposed as a
> > table.
>
> > How can I obtain that dynamically? tha is create a function that do
> > this work for different file with different numbers of headerlines?
>
> If you know the format of the table you are looking for,
> you can use a regular expression to search for it, and
> discard the lines that don't match the pattern.
>
> Rune

Actually, if you mean with "format", what kind of type the colomns
are, they're integer and float!
But if you mean if they're of the same colomns number, the answer is
no! these files are different!!
But we have in the bottom of these files some colomns of number, and I
don't know if matlab can see those as a table.
I'm very confused!
and If I can search for it, How can I do that discarding the
headerlines?
For instance in the first colomn the discarding lines are string
values, while the interesting ones are integer value!
Can u let me see an example? if u can...
thx to answer!
angelo