Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: matrix generation
Date: Sun, 8 Nov 2009 17:17:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 3
Message-ID: <hd6uef$j43$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257700623 19587 172.30.248.37 (8 Nov 2009 17:17:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 8 Nov 2009 17:17:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2017533
Xref: news.mathworks.com comp.soft-sys.matlab:583371


Hi,
I want to generate a 6x4 matrix of positive integers(max value:50) such that the difference between the 3rd element and 1st element in each row is 2 and difference of 2nd and 4th row element in all rows is 3.     
Any help?