Path: news.mathworks.com!not-for-mail
From: "Richard Zapor" <razapor@raytheon.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Fall 2012 MATLAB Contest: October 31 - November 7
Date: Thu, 1 Nov 2012 01:52:08 +0000 (UTC)
Organization: Raytheon Systems Co
Lines: 10
Message-ID: <k6skk8$b5b$1@newscl01ah.mathworks.com>
References: <k4v77h$im6$1@newscl01ah.mathworks.com>
Reply-To: "Richard Zapor" <razapor@raytheon.com>
NNTP-Posting-Host: www-00-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1351734728 11435 172.30.248.45 (1 Nov 2012 01:52:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 1 Nov 2012 01:52:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2789428
Xref: news.mathworks.com comp.soft-sys.matlab:781796

The new grade function appears to undercount knots.

The latest download using function "grade" returns Zero knots for the rules example when two is expected.

The original runcontest.m post needed Michael's tweak on line 152.
 From: for j = i:nLines
 To: for j = i+1:nLines

Thank You,
raz