- Undocumented Matlab - https://undocumentedmatlab.com/blog_old -

Spy Easter egg

Posted By Yair Altman On April 11, 2009 | 4 Comments

For the 2009 Easter holiday, I thought I’d post a Matlab Easter egg, which I found on http://www.eeggs.com/items/47352.html [3]: spy is a built-in stock Matlab function for visualizing sparse matrices. If you run spy with no input arguments, it uses an undocumented default built-in sparse matrix that generates one of the spies in the famous Spy vs. Spy [4] comics series:

spy;

Matlab spy Easter egg

Categories: Low risk of breaking in future versions, Stock Matlab function, Undocumented feature


4 Comments (Open | Close)

4 Comments To "Spy Easter egg"

#1 Comment By Naor On April 12, 2009 @ 3:46 pm

‘spy’ with no arguments was one of the first MATLAB commands I learned :)
another one was ‘why’ with no arguments, maybe you consider that an Easter egg as well…

#2 Comment By Yair Altman On April 12, 2009 @ 11:08 pm

@Naor – the difference is that why with no args is documented, so it’s fun but not a real Easter egg.
Spy with no args is not documented.

#3 Pingback By Image Easter egg | Undocumented Matlab On April 6, 2010 @ 10:28 am

[…] Last year I presented the Matlab Spy Easter egg for the 2009 Easter holiday. This year, slightly late, I present another Easter egg […]

#4 Pingback By Spy Easter egg take 2 | Undocumented Matlab On April 5, 2012 @ 12:36 am

[…] Three years ago, I posted a short post about Matlab’s built-in Easter egg in the spy function […]


Article printed from Undocumented Matlab: https://undocumentedmatlab.com/blog_old

URL to article: https://undocumentedmatlab.com/blog_old/spy-easter-egg

URLs in this post:

[1] Image: http://undocumentedmatlab.com/feed/

[2] email feed: http://undocumentedmatlab.com/subscribe_email.html

[3] http://www.eeggs.com/items/47352.html: http://www.eeggs.com/items/47352.html

[4] Spy vs. Spy: http://en.wikipedia.org/wiki/Spy_vs._Spy

[5] Spy Easter egg take 2 : https://undocumentedmatlab.com/blog_old/spy-easter-egg-take-2

[6] Image Easter egg : https://undocumentedmatlab.com/blog_old/image-easter-egg

[7] FIG files format : https://undocumentedmatlab.com/blog_old/fig-files-format

[8] Matrix processing performance : https://undocumentedmatlab.com/blog_old/matrix-processing-performance

[9] Performance: accessing handle properties : https://undocumentedmatlab.com/blog_old/performance-accessing-handle-properties

[10] Convolution performance : https://undocumentedmatlab.com/blog_old/convolution-performance

Copyright © Yair Altman - Undocumented Matlab. All rights reserved.