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.
Games
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.
- Minesweeper
- Air Hockey Code
- Adventure Game
- Sudoku
School
- Hough Transform
- Kalman Filter

3 comments
Comments feed for this article
22 December 2009 at 21:06
Object Oriented MATLAB Games « Stochastic Observations
[...] MATLAB [...]
19 April 2011 at 17:24
bunts
can u tell me how to collide two moving balls when the input for one is from the g input
19 April 2011 at 21:52
Bryant
Sure thing, I’ll make a new post about collisions using my air hockey code. Look for it in the next few days.