Sunday, November 29, 2026

MATLAB Contests

The year-end time is the season of coding contest organized by MathWorks, makers of MATLAB. However, this year there were two such contests.

  1. STEM Showcase: This contest was in October and people were supposed to create an interactive MATLAB experience (i.e., an app, or a live script, or both) that teaches, explains, or helps others explore a math, science, or engineering concept. This was a “hard” contest as less than 50 entries were submitted in the whole month! I tried to do my best and submitted a live script (Transformation Lab) discussing complex numbers as applicable to geometrical transformations. Such transformations involve regular stuff like translations, reflections, rotations, shears, and exotic stuff like conformal and projective transformations. If you think “projective” word sounds familiar, that is because it is exactly useful for “keystone correction” in image processing (turning trapezoidal photos of building or whiteboards into proper rectangles) and I have hammered this point a lot around this blog and in this post. As it turns out, certain computations become easier / compact if one employs complex numbers to denote points on the 2D plane and hence the intersection of complex numbers with geometrical transformations. If you have a MATLAB account handy, do check out my entry (and others, as they are quite good too). Enjoy!
  2. One-Button Game Mini Hack: This contest was in November and has just ended. This was a fun contest and a lot of entries poured in over the 4 weeks. Compared to the previous contest, one very capable person has single-handedly submitted ~50 entries over the month and the total number of games submitted has reached ~250. Quite a feat! I submitted 4 games (one per week) and they are as follows:
DJ's_QC2_Score

Hope you have some time to spend on these fun games. I’d say definitely play at least this one:

Lunar Lander