Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: select remaining rows of my matrix
Date: Tue, 15 Sep 2009 14:38:01 +0000 (UTC)
Organization: Erasmus MC
Lines: 16
Message-ID: <h8o8s8$iq3$1@fred.mathworks.com>
References: <h8o7lg$rga$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1253025481 19267 172.30.248.38 (15 Sep 2009 14:38:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 15 Sep 2009 14:38:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 870065
Xref: news.mathworks.com comp.soft-sys.matlab:570506

"Patrick Diviacco" <patrick.diviacco@gmail.com> wrote in message <h8o7lg$rga$1@fred.mathworks.com>...
> hi,
> 
> I've selected the first rows of matrix A
> 
> TrainingSet1 = A(1:225,:);
> 
> Is there any method to select the remaining columns instead of writing ?
> 
> TestSet1 = A(226:300,:);
> 
> thanks

What is wrong with it? It is very clear, concise and fast!

Jos