Path: news.mathworks.com!not-for-mail
From: "Stavros " <stavrosana@aegean.gr>
Newsgroups: comp.soft-sys.matlab
Subject: Multirow to One Column
Date: Wed, 15 Sep 2010 08:04:05 +0000 (UTC)
Organization: University of the Aegean
Lines: 20
Message-ID: <i6pull$of9$1@fred.mathworks.com>
Reply-To: "Stavros " <stavrosana@aegean.gr>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1284537845 25065 172.30.248.37 (15 Sep 2010 08:04:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 15 Sep 2010 08:04:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2176547
Xref: news.mathworks.com comp.soft-sys.matlab:670151

hello all,

I have a matrix  A=[49x14]

I try to make a loop to get each row as column :

newA=[A(1,1:12)'; A(2,1:12)';.... ;A(49,1:12)'] 

i tried:

for i=1:49
     newA=[A(i,1:12)';]
end

but dont work

I believe its easy but  i cant get it.... 
Any suggestions ??

Ty all for your time to even read this post :)