Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: manipulation
Date: Thu, 3 Jun 2010 21:23:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 25
Message-ID: <hu96fo$sp3$1@fred.mathworks.com>
References: <hu8qhb$pq1$1@fred.mathworks.com> <hu8u98$bst$1@fred.mathworks.com> <hu8v0o$2et$1@fred.mathworks.com> <hu91kq$qc$1@fred.mathworks.com> <hu92i7$37t$1@fred.mathworks.com> <hu95gb$lfb$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1275600185 29475 172.30.248.38 (3 Jun 2010 21:23:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 3 Jun 2010 21:23:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1754672
Xref: news.mathworks.com comp.soft-sys.matlab:642001

Ok Jan, 

I'll try to rephrase exactly what I am trying to do.

I have a matrix:
X = [658 1072 ;96 103 ;760 1089;292 298]

Now, Matlab outputs it like the following:

X =

         658        1072
          96         103
         760        1089
         292         298

However, my aim is to get X to be reshaped somehow like the following:

>> X =
               658 1072 96 103
               760 1089 292 298

If I can get a solution to solve this problem for an X matrix of any size this would be great.Hope this helps you out and thanks again for the help .

ravi