I love MATLAB — there’s nothing quite like it. It’s just so easy to quickly throw together simulations and algorithms. On this page are just a few things I’ve done in MATLAB that I’d like to share.
In 2008, I went on travel for work where I was on a ship doing tests for about a week. There wasn’t always things to do, and one of the guys on board was playing Pong on MATLAB. He had coded it up himself, but it was unbeatable — the computer’s paddle position was based upon the ball’s position, so you could never score a goal. But what really got me interested was the fact that you could take the mouse position and use that dynamically. This inspired me to create games with MATLAB.
- Air Hockey Code
- Adventure Game
- Ghost in the Wires Decoder
- Processing File Formats
- Ignoring Plots in a Legend
- Controlling Plots: Cells, For Loops, and Switch Statements
- Operations on Structure Arrays