Hidden Matlab Fun (Easter Eggs)

Have some fun with Matlab today. Here are some easter eggs for the program (it may depend on your version, but all of these worked on mine).

Open the Matlab command window and type one of the following to get a nice surprise:

>> image
This one gives an image of a boy.

matlab image easter egg

>> spy
This one gives the classic spy vs spy picture.

matlab image easter egg

>> life
Simulation of Conway’s Game of Life.

matlab image easter egg

>> why
Alternatively type why(n), for some number n.

matlab image easter egg

>> penny
American penny.

matlab image easter egg

>> toilet
Simulation of a working toilet, haha.
Also try “shower”.

matlab image easter egg

** Note: Some posts on Math-Fail are user-submitted and NOT verified by the admin of the site before publication. If you find this post to be distasteful, non-math related, ?or something worse?, then definitely leave a comment letting me know. Thanks very much! Mike **

1 Star2 Stars3 Stars4 Stars5 Stars (5.00 from 4 votes)
  1. also:
    load handel
    sound(y, Fs)

    Thumb up 25 Thumb down 1

  2. Just a heads up that the spy is now replaced with a dog image and the toilet seems to be missing in MATLAB 2011

    Thumb up 12 Thumb down 1

  3. @ Emile Cantin
    I took the sound file and put it into an iterative loop, opened the file on a computer in my class, switched user so the song still played but no one can get in, and the song played the entire class.

    Thumb up 19 Thumb down 2

  4. Thanks for that handel one, Emile. I’ll insert into the my office mate’s code when they are not around!

    Thumb up 10 Thumb down 0

  5. newbie1234567890

    the spy one is diffrent now. :shock: it’s a wolf :mrgreen:

    Thumb up 1 Thumb down 0

  6. I’ve been exploring for a bit for any high-quality articles
    or blog posts on this sort of house . Exploring
    in Yahoo I at last stumbled upon this site. Studying this info So i’m satisfied to show that I’ve a very good uncanny feeling I discovered just what I needed.
    I most indisputably will make sure to don?t forget this site and give it a glance on a relentless basis.

    Thumb up 0 Thumb down 0

Leave a Comment

seven + 1 =

* Copy This Password *

* Type Or Paste Password Here *

118,584 Spam Comments Blocked so far by Spam Free Wordpress

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>