MATLAB Programming Contest Blog

April 10th, 2006

1000 Character Challenge

We’ve been talking to our language experts and understand why the obfuscated entries are running faster than the legible versions (more on this later). You all have made great suggestions as to how we can improve the contest, especially with respect to obfuscation. After careful thought, we’ve decided not to make any changes for this contest.

Our next mid-contest challenge, however, will be obfuscation-friendly! It will go to the best-scoring entry less than 1000 characters in length and submitted today before 8PM EDT. Length is measured in terms of bytes, so white space (even newlines) is included. We added a section to the Statistics to help us keep track. If the winning entry is an identical resubmission of an entry that happens to get a better time, we will award the prize to the original.

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


The MATLAB Programming Contest is a semi-annual competition where contestants submit MATLAB code to try to solve a challenge. For more information, see the overview.
  • gopal: This is a try
  • Amtu: Well done Alfonso ! Congratulations ! Thanks MATLAB team, I’m already looking forward to the next time.
  • Alan Chalker: Just wanted to post here as well that I think Alfonso should be declared the grand winner since the top...
  • Alan Chalker: Just noticed something curious on the statistics page. While some of the charts are updating correctly,...
  • Ned: To Oliver: There will not be a late stage twilight in this contest. So it’s full daylight right to the end.
  • Oliver Woodford: Much obliged, Mike. For anyone looking for a speed boost to that approach I recommend “Basic...
  • MikeR: I agree with Oliver that if possible making the final few hours of the contest conceal the entries will be...
  • Oliver Woodford: When does late stage twilight begin, and will it then run on until the end of the contest?
  • Alan Chalker: As I traditionally do about this time in the contest, I’ve submitted a heavily commented version...
  • the cyclist: Looks like there might be a problem with the statistics page. For one thing, Alan Chalker holds all 20...

These postings are the author's and don't necessarily represent the opinions of The MathWorks.