Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Fall 2009 MATLAB Contest, November 4th-11th
Date: Wed, 4 Nov 2009 18:56:02 +0000 (UTC)
Organization: PatientsLikeMe
Lines: 16
Message-ID: <hcsio2$rj0$1@fred.mathworks.com>
References: <hcmvti$4je$1@fred.mathworks.com> <hcsdku$7vg$1@fred.mathworks.com> <hcshmq$n7a$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 1257360962 28256 172.30.248.37 (4 Nov 2009 18:56:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Nov 2009 18:56:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1841757
Xref: news.mathworks.com comp.soft-sys.matlab:582487


"Sergey" <ivssnn@yahoo.com> wrote in message <hcshmq$n7a$1@fred.mathworks.com>...
> It looks like solver function is called not as
> 
> colors = solver(A,[targetRow targetColumn])
> 
> but as 
> 
> colors = solver(A,targetIndex)
> 
> is it correct?
> 
> SY

Yes, definitely called with the linear index to the array, not two subscripts.

the cyclist