<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Easter egg &#8211; Undocumented Matlab</title>
	<atom:link href="https://undocumentedmatlab.com/articles/tag/easter-egg/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 04 Apr 2012 18:00:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>Spy Easter egg take 2</title>
		<link>https://undocumentedmatlab.com/articles/spy-easter-egg-take-2?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=spy-easter-egg-take-2</link>
					<comments>https://undocumentedmatlab.com/articles/spy-easter-egg-take-2#comments</comments>
		
		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 04 Apr 2012 18:00:12 +0000</pubDate>
				<category><![CDATA[Low risk of breaking in future versions]]></category>
		<category><![CDATA[Stock Matlab function]]></category>
		<category><![CDATA[Undocumented feature]]></category>
		<category><![CDATA[Easter egg]]></category>
		<category><![CDATA[Pure Matlab]]></category>
		<category><![CDATA[spy]]></category>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2833</guid>

					<description><![CDATA[<p>The default spy Easter-egg image in the spy function has recently changed. </p>
<p>The post <a rel="nofollow" href="https://undocumentedmatlab.com/articles/spy-easter-egg-take-2">Spy Easter egg take 2</a> appeared first on <a rel="nofollow" href="https://undocumentedmatlab.com">Undocumented Matlab</a>.</p>
<div class='yarpp-related-rss'>
<h3>Related posts:</h3><ol>
<li><a href="https://undocumentedmatlab.com/articles/spy-easter-egg" rel="bookmark" title="Spy Easter egg">Spy Easter egg </a> <small>The built-in Matlab function spy has an undocumented feature (Easter egg) when it is called with no input arguments....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/image-easter-egg" rel="bookmark" title="Image Easter egg">Image Easter egg </a> <small>The default image presented by Matlab's image function has a very interesting undocumented story....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/ishghandle-undocumented-input-parameter" rel="bookmark" title="ishghandle&#039;s undocumented input parameter">ishghandle&#039;s undocumented input parameter </a> <small>The built-in function ishghandle accepts a second input argument with the expected handle type....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/plot-liminclude-properties" rel="bookmark" title="Plot LimInclude properties">Plot LimInclude properties </a> <small>The plot objects' XLimInclude, YLimInclude, ZLimInclude, ALimInclude and CLimInclude properties are an important feature, that has both functional and performance implications....</small></li>
</ol>
</div>
]]></description>
										<content:encoded><![CDATA[<p>Three years ago, I posted a <a target="_blank" href="/articles/spy-easter-egg/">short post</a> about Matlab&#8217;s built-in Easter egg in the <i><b>spy</b></i> function. Apparently, when running <i><b>spy</b></i> with no input arguments, it uses an undocumented default built-in sparse matrix that generates the white spy in the famous <a href="http://en.wikipedia.org/wiki/Spy_vs._Spy" target="_blank" rel="nofollow">Spy vs. Spy</a> comics series:</p>
<pre lang="matlab">>> spy;</pre>
<p><center><img fetchpriority="high" decoding="async" src="https://undocumentedmatlab.com/images/spy.png" title="Matlab spy Easter egg" alt="Matlab spy Easter egg" width="327" height="388"/></center><br />
As was recently <a target="_blank" rel="nofollow" href="http://blog.developpez.com/matlab4geek/p10681/pensee-matlab-du-jour/notre-vieil-espion-qui-a-pris-sa-retrait/?page=2">reported</a> by Aurélien, the default built-in sparse matrix has changed in R2011a (not R2011b as in the original report):<br />
<center><img decoding="async" src="https://undocumentedmatlab.com/images/spy2.png" title="Matlab spy Easter egg" alt="Matlab spy Easter egg" width="262" height="391"/></center><br />
If you ask me, the previous (white spy) image had more relevance to the <i><b>spy</b></i> function&#8230; I assume the new image was not chosen arbitrarily &#8211; if anyone has some insight as to why this image was chosen and its relevance to <i><b>spy</b></i>, please post a comment.<br />
<b><u>Addendum</u></b>: The original spy image can still be generated using the following code snippet:<br />
<code><br />
c = [';@3EA4:aei7]ced.CFHE;4\T>*Y>,dL0,HOQQMJLJE9PX[[Q.ZF.\JTCA1dd'<br />
     '&lt;A;FB:;bfj8^df//DGIF&lt;5]UF+ZH-eM>-IorRPNMPIE-Y\\R8[I8]SUDW2e+'<br />
     '=4BGC;&lt;cgk9_e00DEOJG=6^VG,[I.fN?5jpsSQPNQPF.Z,]S9`S9cTWVX:+,'<br />
     ':5CHD&lt;=4hlh`f11EFPKHA7&WH-\J/gOC?kqtTRRORQJ8--^TB+T=dWYWY;,_'<br />
     ';6D3E=>7imiag2IFOQLID8''XI.]K0"PD@l32UZhP//P988_WC,U>+Z^Y\&lt;2`'<br />
     '&lt;82BF>?8jnjbhLJGPRMJE9/YJ/`L1#QMC$;;V[iv09QE99,XD.YB,[_\]=3a'<br />
     '>9;CG?@9kokc2MKHQSOKF:0ZL0aM2$RNG%AAW\jw9E.FEE-_G8aG.d`]_W5+'<br />
     '?:CDH@A:lpld3NLIRTPLG=1[M1bN3%SOH4BBX]kx:J9LLL8`H9bJ/+d_dX6,'<br />
     '@;DEIAB;mqmePOMJSUQMJ>2\N2cO4&TPP@HCY^lyDKEMMN9+I@+S8,+deY7^'<br />
     '8@EFJBC&lt;4rnfQPNPTVRNKB3]O3dP5''UQQCIDZ_mzEPFNNOE,RA,T9/,++\8_'<br />
     '9A2G3CD=544gRQPQUWUOLE4^P4"Q6(VRRIJE[`n{KQKOOPK-SE.W:F/,,]Z+'<br />
     ':BDH4DE>655hSRQRVXVPMF5_Q5#R>)eSSJKF\ao0L.L-WUL.VF8XCH001_[,'<br />
     ';3EI&lt;EO?766iTSRSWYWQNG6$R6''S?*fTTlLQ]bp1M/P.XVP8[H9]DIDA=`\]'<br />
     '?4D3=FP@877jUTSTXZXROK7%S7(TF+gUUmMR^cq:N9Q8YZQ9_I>cIJEB>d_^'<br />
     '@5E@>GQA98b3VUTUY*YSPL8&T>)UI,hVhnNS_dr;PE.9Z[RCaR?+JTFC?e`+'<br />
     '79FA?HRB:9c4WVUVZ+ZWQM=,WG*VJ-"gi4OT`es&lt;QL9E[\TD+SA,SWUVW+d,'<br />
     '8:3B@JSX;:dVXWVW[,[XRN>-XH+bK.#hj@PUvftDRMEF,]UH,UB.TYVWX,e\'<br />
     '9;ECAKTY&lt;;eWYXWX\:)YSOE.YI,cL/$ikCqV1guE/PFL-^XI-YG/WZWXY1+]'<br />
     ':AFDBLUZ=&lt;fXZYXY,;*ZTPF/ZJ-dM0%j#Jrt2hxH0QKM8,YJ.ZI8[^YY\2,,'<br />
     ';B3ECMV[>jgY[ZYZ-&lt;7[XQG0[K.eN1&"$K2u:iyO9.PN9-_K8aJ9\_]\]82['<br />
     '?CEFDNW\?khZ\[Z[==8\YRH1\M/!O2''#%m31Bw0PE/QXE8+R9bS;da^]_93\'<br />
     '@2FGEOX]ali[]\[\>>9(ZSL2]N0"P3($&n;2Cx1QN9--L9,SA+T&lt;+d__`:4,'<br />
     'A3GHFPY^bmj\^]\]??:)[TM3^O1%Q4)%''oA:D0:0OE.8ME-TE,XB,+`da;5['<br />
     '643IGQZ_cnk]_^]^@@;5\UN4_P2&R6*&(3B;E1&lt;1PN99NL8WF.^C/,a+bY6,'<br />
     '7:F3HR[`dol^`_^_AA&lt;6]VO5`Q3''S>+'');CBF:=:QOEEOO9_G8aH6/d,cZ[Y'<br />
     '8;G4IS\aep4_a`_-BD=7''XP6aR4(T?,(5@DCHCC;RPFLPPD`H9bJ70+0d\\Z'<br />
     '9BH>JT^bf45`ba`.CE@8(YQ7#S5)UD-)?AEDIDDD/QKMVQJ+S?cSDF,1e]a,'<br />
     ':C3?K4_cg5[acbaADFA92ZR8$T6*VE.*@JFEJEEE0.NNWTK,U@+TEG0?+_bX'<br />
     ';2D@L9`dh6\bdcbBEGD:3[S=)U7+cK/+CKGFLIKI9/OWZUL-VA,WIHB@,`cY'];<br />
i = double(c(:)-32);<br />
j = cumsum(diff([0; i])&lt;=0) + 1;<br />
S = sparse(i,j,1)';<br />
spy(S)<br />
</code><br />
<!-- pre lang="matlab">
c = [';@3EA4:aei7]ced.CFHE;4\T>*Y>,dL0,HOQQMJLJE9PX[[Q.ZF.\JTCA1dd'
     '<a ;FB:;bfj8^df//DGIF&lt;5]UF+ZH-eM>-IorRPNMPIE-Y\\R8[I8]SUDW2e+'
     '=4BGC;<cgk9_e00deojg =6^VG,[I.fN?5jpsSQPNQPF.Z,]S9`S9cTWVX:+,'
     ':5CHD<=4hlh`f11EFPKHA7&WH-\J/gOC?kqtTRRORQJ8--^TB+T=dWYWY;,_'
     ';6D3E=>7imiag2IFOQLID8''XI.]K0"PD@l32UZhP//P988_WC,U>+Z^Y\&lt;2`'
     '&lt;82BF>?8jnjbhLJGPRMJE9/YJ/`L1#QMC$;;V[iv09QE99,XD.YB,[_\]=3a'
     '>9;CG?@9kokc2MKHQSOKF:0ZL0aM2$RNG%AAW\jw9E.FEE-_G8aG.d`]_W5+'
     '?:CDH@A:lpld3NLIRTPLG=1[M1bN3%SOH4BBX]kx:J9LLL8`H9bJ/+d_dX6,'
     '@;DEIAB;mqmePOMJSUQMJ>2\N2cO4&TPP@HCY^lyDKEMMN9+I@+S8,+deY7^'
     '8@EFJBC&lt;4rnfQPNPTVRNKB3]O3dP5''UQQCIDZ_mzEPFNNOE,RA,T9/,++\8_'
     '9A2G3CD=544gRQPQUWUOLE4^P4"Q6(VRRIJE[`n{KQKOOPK-SE.W:F/,,]Z+'
     ':BDH4DE>655hSRQRVXVPMF5_Q5#R>)eSSJKF\ao0L.L-WUL.VF8XCH001_[,'
     ';3EI<eo ?766iTSRSWYWQNG6$R6''S?*fTTlLQ]bp1M/P.XVP8[H9]DIDA=`\]'
     '?4D3=FP@877jUTSTXZXROK7%S7(TF+gUUmMR^cq:N9Q8YZQ9_I>cIJEB>d_^'
     '@5E@>GQA98b3VUTUY*YSPL8&T>)UI,hVhnNS_dr;PE.9Z[RCaR?+JTFC?e`+'
     '79FA?HRB:9c4WVUVZ+ZWQM=,WG*VJ-"gi4OT`es<ql9e [\TD+SA,SWUVW+d,'
     '8:3B@JSX;:dVXWVW[,[XRN>-XH+bK.#hj@PUvftDRMEF,]UH,UB.TYVWX,e\'
     '9;ECAKTY< ;eWYXWX\:)YSOE.YI,cL/$ikCqV1guE/PFL-^XI-YG/WZWXY1+]'
     ':AFDBLUZ=<fXZYXY,;*ZTPF/ZJ-dM0%j#Jrt2hxH0QKM8,YJ.ZI8[^YY\2,,'
     ';B3ECMV[>jgY[ZYZ-&lt;7[XQG0[K.eN1&"$K2u:iyO9.PN9-_K8aJ9\_]\]82['
     '?CEFDNW\?khZ\[Z[==8\YRH1\M/!O2''#%m31Bw0PE/QXE8+R9bS;da^]_93\'
     '@2FGEOX]ali[]\[\>>9(ZSL2]N0"P3($&n;2Cx1QN9--L9,SA+T< +d__`:4,'
     'A3GHFPY^bmj\^]\]??:)[TM3^O1%Q4)%''oA:D0:0OE.8ME-TE,XB,+`da;5['
     '643IGQZ_cnk]_^]^@@;5\UN4_P2&R6*&(3B;E1&lt;1PN99NL8WF.^C/,a+bY6,'
     '7:F3HR[`dol^`_^_AA&lt;6]VO5`Q3''S>+'');CBF:=:QOEEOO9_G8aH6/d,cZ[Y'
     '8;G4IS\aep4_a`_-BD=7''XP6aR4(T?,(5@DCHCC;RPFLPPD`H9bJ70+0d\\Z'
     '9BH>JT^bf45`ba`.CE@8(YQ7#S5)UD-)?AEDIDDD/QKMVQJ+S?cSDF,1e]a,'
     ':C3?K4_cg5[acbaADFA92ZR8$T6*VE.*@JFEJEEE0.NNWTK,U@+TEG0?+_bX'
     ';2D@L9`dh6\bdcbBEGD:3[S=)U7+cK/+CKGFLIKI9/OWZUL-VA,WIHB@,`cY'];
i = double(c(:)-32);
j = cumsum(diff([0; i])< =0) + 1;
S = sparse(i,j,1)';
spy(S)

--><br />
Happy Easter / Passover everybody!<br />
<!--


<div style="background-color: rgb(255, 255, 0);"><center>Note: in May, I will hold public <a target="_blank" href="/training/">training courses</a> in <b>Geneva</b>, Switzerland and <b>Tel-Aviv</b>, Israel.<br />Anyone interested please <a href="mailto:%20altmany%20@gmail.com?subject=Matlab%20courses&amp;body=Hi%20Yair,%20&amp;cc=;&amp;bcc=" rel="nofollow" target="_blank" onclick="var n='altmany'; var d='gmail.com'; window.open('mailto:'+n+'@'+d+'?subject=Matlab courses&amp;body=Hi Yair, '); return false;">email me</a> (altmany at gmail dot com) for more details.</center></ql9e></eo></cgk9_e00deojg></a>
--></p>
<p>The post <a rel="nofollow" href="https://undocumentedmatlab.com/articles/spy-easter-egg-take-2">Spy Easter egg take 2</a> appeared first on <a rel="nofollow" href="https://undocumentedmatlab.com">Undocumented Matlab</a>.</p>
<div class='yarpp-related-rss'>
<h3>Related posts:</h3><ol>
<li><a href="https://undocumentedmatlab.com/articles/spy-easter-egg" rel="bookmark" title="Spy Easter egg">Spy Easter egg </a> <small>The built-in Matlab function spy has an undocumented feature (Easter egg) when it is called with no input arguments....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/image-easter-egg" rel="bookmark" title="Image Easter egg">Image Easter egg </a> <small>The default image presented by Matlab's image function has a very interesting undocumented story....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/ishghandle-undocumented-input-parameter" rel="bookmark" title="ishghandle&#039;s undocumented input parameter">ishghandle&#039;s undocumented input parameter </a> <small>The built-in function ishghandle accepts a second input argument with the expected handle type....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/plot-liminclude-properties" rel="bookmark" title="Plot LimInclude properties">Plot LimInclude properties </a> <small>The plot objects' XLimInclude, YLimInclude, ZLimInclude, ALimInclude and CLimInclude properties are an important feature, that has both functional and performance implications....</small></li>
</ol>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://undocumentedmatlab.com/articles/spy-easter-egg-take-2/feed</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>Image Easter egg</title>
		<link>https://undocumentedmatlab.com/articles/image-easter-egg?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=image-easter-egg</link>
					<comments>https://undocumentedmatlab.com/articles/image-easter-egg#comments</comments>
		
		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 06 Apr 2010 17:28:44 +0000</pubDate>
				<category><![CDATA[Low risk of breaking in future versions]]></category>
		<category><![CDATA[Stock Matlab function]]></category>
		<category><![CDATA[Undocumented feature]]></category>
		<category><![CDATA[Easter egg]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[Pure Matlab]]></category>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1272</guid>

					<description><![CDATA[<p>The default image presented by Matlab's image function has a very interesting undocumented story.</p>
<p>The post <a rel="nofollow" href="https://undocumentedmatlab.com/articles/image-easter-egg">Image Easter egg</a> appeared first on <a rel="nofollow" href="https://undocumentedmatlab.com">Undocumented Matlab</a>.</p>
<div class='yarpp-related-rss'>
<h3>Related posts:</h3><ol>
<li><a href="https://undocumentedmatlab.com/articles/spy-easter-egg" rel="bookmark" title="Spy Easter egg">Spy Easter egg </a> <small>The built-in Matlab function spy has an undocumented feature (Easter egg) when it is called with no input arguments....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/spy-easter-egg-take-2" rel="bookmark" title="Spy Easter egg take 2">Spy Easter egg take 2 </a> <small>The default spy Easter-egg image in the spy function has recently changed. ...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/auto-scale-image-colors" rel="bookmark" title="Auto-scale image colors">Auto-scale image colors </a> <small>Images can be automatically color-scaled for maximum resolution, using the undocumented MarkedClean event. ...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/plot-legend-title" rel="bookmark" title="Plot legend title">Plot legend title </a> <small>Titles to plot legends are easy to achieve in HG1 (R2014a or earlier), but much more difficult in HG2 (R2014b or newer). ...</small></li>
</ol>
</div>
]]></description>
										<content:encoded><![CDATA[<p>Last year I presented the Matlab <a target="_blank" href="/articles/spy-easter-egg/">Spy Easter egg</a> for the 2009 Easter holiday. This year, slightly late, I present another Easter egg in the well-known <i><b>image</b></i> function: When we run <i><b>image</b></i> with no input arguments, we get a default image of an inverted boy:</p>
<pre lang="matlab">image;</pre>
<p><center><figure style="width: 437px" class="wp-caption aligncenter"><img decoding="async" alt="Default image" src="https://undocumentedmatlab.com/images/image1.png" title="Default image" width="437" height="396" /><figcaption class="wp-caption-text">Default image</figcaption></figure></center><br />
To see the image right-side up:</p>
<pre lang="matlab">
image;
colormap(gray(32));
axis ij image off
</pre>
<p><center><figure style="width: 437px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" alt="Corrected default image" src="https://undocumentedmatlab.com/images/image2.png" title="Corrected default image" width="437" height="396" /><figcaption class="wp-caption-text">Corrected default image</figcaption></figure></center><br />
In fact, it turns out that there are quite a few hidden super-imposed images here, and that there is an interesting story behind them, which was <a target="_blank" rel="nofollow" href="http://blogs.mathworks.com/steve/2006/10/17/the-story-behind-the-matlab-default-image/">explained by Steve Eddins in his Image Processing blog</a>. For those interested, the boy above is Steve&#8217;s eldest, but that&#8217;s only a small part of the story&#8230;<br />
Happy Holiday!<br />
Yair<br />
p.s. &#8211; The default image has not changed in many years. I guess the boy should be in high school or college by now. Perhaps it&#8217;s time to post an updated picture in the R2010b release, Steve?</p>
<p>The post <a rel="nofollow" href="https://undocumentedmatlab.com/articles/image-easter-egg">Image Easter egg</a> appeared first on <a rel="nofollow" href="https://undocumentedmatlab.com">Undocumented Matlab</a>.</p>
<div class='yarpp-related-rss'>
<h3>Related posts:</h3><ol>
<li><a href="https://undocumentedmatlab.com/articles/spy-easter-egg" rel="bookmark" title="Spy Easter egg">Spy Easter egg </a> <small>The built-in Matlab function spy has an undocumented feature (Easter egg) when it is called with no input arguments....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/spy-easter-egg-take-2" rel="bookmark" title="Spy Easter egg take 2">Spy Easter egg take 2 </a> <small>The default spy Easter-egg image in the spy function has recently changed. ...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/auto-scale-image-colors" rel="bookmark" title="Auto-scale image colors">Auto-scale image colors </a> <small>Images can be automatically color-scaled for maximum resolution, using the undocumented MarkedClean event. ...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/plot-legend-title" rel="bookmark" title="Plot legend title">Plot legend title </a> <small>Titles to plot legends are easy to achieve in HG1 (R2014a or earlier), but much more difficult in HG2 (R2014b or newer). ...</small></li>
</ol>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://undocumentedmatlab.com/articles/image-easter-egg/feed</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Spy Easter egg</title>
		<link>https://undocumentedmatlab.com/articles/spy-easter-egg?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=spy-easter-egg</link>
					<comments>https://undocumentedmatlab.com/articles/spy-easter-egg#comments</comments>
		
		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sat, 11 Apr 2009 18:24:33 +0000</pubDate>
				<category><![CDATA[Low risk of breaking in future versions]]></category>
		<category><![CDATA[Stock Matlab function]]></category>
		<category><![CDATA[Undocumented feature]]></category>
		<category><![CDATA[Easter egg]]></category>
		<category><![CDATA[Pure Matlab]]></category>
		<category><![CDATA[spy]]></category>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=174</guid>

					<description><![CDATA[<p>The built-in Matlab function spy has an undocumented feature (Easter egg) when it is called with no input arguments.</p>
<p>The post <a rel="nofollow" href="https://undocumentedmatlab.com/articles/spy-easter-egg">Spy Easter egg</a> appeared first on <a rel="nofollow" href="https://undocumentedmatlab.com">Undocumented Matlab</a>.</p>
<div class='yarpp-related-rss'>
<h3>Related posts:</h3><ol>
<li><a href="https://undocumentedmatlab.com/articles/spy-easter-egg-take-2" rel="bookmark" title="Spy Easter egg take 2">Spy Easter egg take 2 </a> <small>The default spy Easter-egg image in the spy function has recently changed. ...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/image-easter-egg" rel="bookmark" title="Image Easter egg">Image Easter egg </a> <small>The default image presented by Matlab's image function has a very interesting undocumented story....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/undocumented-scatter-plot-behavior" rel="bookmark" title="Undocumented scatter plot behavior">Undocumented scatter plot behavior </a> <small>The scatter plot function has an undocumented behavior when plotting more than 100 points: it returns a single unified patch object handle, rather than a patch handle for each specific point as it returns with 100 or less points....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/performance-scatter-vs-line" rel="bookmark" title="Performance: scatter vs. line">Performance: scatter vs. line </a> <small>In many circumstances, the line function can generate visually-identical plots as the scatter function, much faster...</small></li>
</ol>
</div>
]]></description>
										<content:encoded><![CDATA[<p>For the 2009 Easter holiday, I thought I&#8217;d post a Matlab Easter egg, which I found on <a href="http://www.eeggs.com/items/47352.html" target="_noblank" rel="nofollow">http://www.eeggs.com/items/47352.html</a>: <em><strong>spy</strong></em> is a built-in stock Matlab function for visualizing sparse matrices. If you run <em><strong>spy</strong></em> with no input arguments, it uses an undocumented default built-in sparse matrix that generates one of the spies in the famous <a href="http://en.wikipedia.org/wiki/Spy_vs._Spy" target="_noblank" rel="nofollow">Spy vs. Spy</a> comics series:</p>
<pre lang="matlab">spy;</pre>
<p><center><img decoding="async" src="https://undocumentedmatlab.com/images/spy.png" title="Matlab spy Easter egg" alt="Matlab spy Easter egg" /></center></p>
<p>The post <a rel="nofollow" href="https://undocumentedmatlab.com/articles/spy-easter-egg">Spy Easter egg</a> appeared first on <a rel="nofollow" href="https://undocumentedmatlab.com">Undocumented Matlab</a>.</p>
<div class='yarpp-related-rss'>
<h3>Related posts:</h3><ol>
<li><a href="https://undocumentedmatlab.com/articles/spy-easter-egg-take-2" rel="bookmark" title="Spy Easter egg take 2">Spy Easter egg take 2 </a> <small>The default spy Easter-egg image in the spy function has recently changed. ...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/image-easter-egg" rel="bookmark" title="Image Easter egg">Image Easter egg </a> <small>The default image presented by Matlab's image function has a very interesting undocumented story....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/undocumented-scatter-plot-behavior" rel="bookmark" title="Undocumented scatter plot behavior">Undocumented scatter plot behavior </a> <small>The scatter plot function has an undocumented behavior when plotting more than 100 points: it returns a single unified patch object handle, rather than a patch handle for each specific point as it returns with 100 or less points....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/performance-scatter-vs-line" rel="bookmark" title="Performance: scatter vs. line">Performance: scatter vs. line </a> <small>In many circumstances, the line function can generate visually-identical plots as the scatter function, much faster...</small></li>
</ol>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://undocumentedmatlab.com/articles/spy-easter-egg/feed</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
