Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: matrix generation
Date: Sun, 8 Nov 2009 19:05:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 8
Message-ID: <hd74p1$ekq$1@fred.mathworks.com>
References: <hd6uef$j43$1@fred.mathworks.com> <hd6vnm$7u3$1@fred.mathworks.com> <hd70t6$iun$1@fred.mathworks.com> <hd71ii$9sb$1@news.eternal-september.org> <hd734d$4qi$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 1257707105 15002 172.30.248.38 (8 Nov 2009 19:05:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 8 Nov 2009 19:05:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2017533
Xref: news.mathworks.com comp.soft-sys.matlab:583390



> But what if the condition is something like " (1st column element-2nd column element)+(3rd column element-4th column element)"for all rows should be equal to x???
> 
> In this case will such a defn work out?

If the condition is "(1st column element-2nd column element)+(3rd column element-4th column element)" should be a number greater than 'x', then also I doubt whether such a column by column definition will work.

Please help.....