Path: news.mathworks.com!not-for-mail
From: "Branko " <bogunovic@mbss.org>
Newsgroups: comp.soft-sys.matlab
Subject: reading alphanumeric data
Date: Thu, 22 Oct 2009 07:59:19 +0000 (UTC)
Organization: National Institute of Biology
Lines: 19
Message-ID: <hbp3cn$n2i$1@fred.mathworks.com>
References: <hb6otr$oq4$1@fred.mathworks.com> <hb9c01$32e$1@fred.mathworks.com> <hbn2eo$p1$1@fred.mathworks.com>
Reply-To: "Branko " <bogunovic@mbss.org>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1256198359 23634 172.30.248.38 (22 Oct 2009 07:59:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 22 Oct 2009 07:59:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 237386
Xref: news.mathworks.com comp.soft-sys.matlab:579217


"burcu " <burcu102@hotmail.com> wrote in message <hbn2eo$p1$1@fred.mathworks.com>...
> Hi Guys,
> 
> I'm stucked in a similar situation. My data is something like:
> 
> 0,udp,private,SF,105,146,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1
> 
> It's a huge dataset of 42 columns and thousands of rows. I'm testing the command with 19 rows and 42 columns of dataset. Than i'll use this data at neral network training. 
> Anyway, as i can understand as an output of textscan command i'm always getting 1X42 array. I want to merge this to a 19x42 matrix. It seems cat command could work on my issue but i couldnt understand it's syntax. Can you please advice how can i solve my issue on that?
> 
> Thanks!
> Burcu
> 

> Anyway, as i can understand as an output of textscan command i'm always getting 1X42 array.

Not necessary, depands how's your data structured and than apply textscan (regexp) to your data. If you provide some additional information(code, data ), we might help you.

Branko