Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!newspeer.monmouth.com!guardian.oit.duke.edu!gargoyle.oit.duke.edu!not-for-mail
From: Peter Torrione <pat7@duke.remove.nospam.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: grade function
Date: Wed, 09 May 2007 15:18:22 -0400
Organization: Duke University, Durham, NC, USA
Lines: 5
Message-ID: <f1t6pu$4kr$1@gargoyle.oit.duke.edu>
References: <ef55232.7@webcrossing.raydaftYaTP> <ef55232.8@webcrossing.raydaftYaTP> <ef55232.9@webcrossing.raydaftYaTP> <ef55232.10@webcrossing.raydaftYaTP> <ef55232.13@webcrossing.raydaftYaTP> <ef55232.14@webcrossing.raydaftYaTP>
NNTP-Posting-Host: peteibmlaptop.ee.duke.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: gargoyle.oit.duke.edu 1178738302 4763 152.3.196.79 (9 May 2007 19:18:22 GMT)
X-Complaints-To: news@news.duke.edu
NNTP-Posting-Date: Wed, 9 May 2007 19:18:22 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
In-Reply-To: <ef55232.14@webcrossing.raydaftYaTP>
Xref: news.mathworks.com comp.soft-sys.matlab:407985



Marko wrote:
> All indices of type x(2),x(1) must be x(1),x(2) i think
It looks like doing this at the end of your 'solver' solves the problem:

moves = moves(:,[2 1 4 3]);