Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Reversing a row matrix
Date: Fri, 10 Oct 2008 14:56:03 +0000 (UTC)
Organization: TUD
Lines: 12
Message-ID: <gcnqe3$s7h$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 1223650563 28913 172.30.248.38 (10 Oct 2008 14:56:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 10 Oct 2008 14:56:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1420673
Xref: news.mathworks.com comp.soft-sys.matlab:494570


Hi All,

I need to reverse a matrix as follows:
If x=[1 3 8 20 100 121], 

how do I get a matrix 

y=[121 100 20 8 3 1]

An answer is needed, please.

Emeka