From: "weihua xiong" <weihuax@cs.sfu.ca>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webx
Newsgroups: comp.soft-sys.matlab
Subject: Reshape in Row First
Message-ID: <ef2cda9.-1@webx.raydaftYaTP>
Date: Sun, 19 Mar 2006 12:55:50 -0500
Lines: 11
NNTP-Posting-Host: 199.60.14.86
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:338104


Hi:

As we know, if I have vector
A = [ 1 2 3 4
     5 6 7 8];
if I use B = reshape(A,[1 8]);
the result is B = [1 5 2 6 3 7 4 8]
How can I get the result
B = [1 2 3 4 5 6 7 8] from matlab

Thanks