What matlab easter eggs do you know?

Paulo Silva on 25 Feb 2011
Latest activity Reply by David Cazenave on 10 May 2024

Please post the easter eggs that you have found so far if they aren't already posted by someone else.
Let's try to make a good Matlab easter egg list because it seems that there isn't one.
What should be posted:
  • Unexpected but intentional behaviour
  • Special things that the programmers left for us to discover
  • Extra code inside a function that can be used for other purposes
  • Hidden pictures and audio clips
What shouldn't be posted:
  • Repeated Easter Eggs, if someone already posted it please don't repeat
  • Bugs in functions that cause trouble and might be fixed in later versions
  • Matlab games that come with the program unless they aren't mentioned in the documentation (the games are in the other demos, try the xpbombs and fifteen, you can even see the code for both games)
David Cazenave
David Cazenave on 10 May 2024
Descartes said 'I think therefore, I am.' For all you 'newton_2x2.m', and 'nfnitcerestst.m' fans, my 'Series Convergence Calculator' script now has a 15 - ball (Abel's Convergence Test - a powerful, advanced, test for converging trigonometric, and all other converging series). Look for it in an all encompassing update, happening soon at a screen near you!!!
Hans Scharler
Hans Scharler on 24 Apr 2024
why?
Aaron Coville
Aaron Coville on 6 May 2024
Since 'why' can be seeded (and has a max input of 2^32), some friends and I ran an exhaustive script to see what the longest response from 'why' is (it took many days to run across several computers). We found why(3282186255) generated a response that's 346 words long! This was using the default (v5uniform) seed generator, but there are several others one could set and check for possibly even longer responses! (This was done on R2023b)
Chen Lin
Chen Lin on 6 May 2024
Wow! It will be cool if you can share the result. Worthy of a seperate post.
Hans Scharler
Hans Scharler on 6 May 2024
That's so cool! Thanks for sharing.
Walter Roberson
Walter Roberson on 24 Apr 2024
Because the rich rich and tall and good system manager suggested it.
Hans Scharler
Hans Scharler on 24 Apr 2024
:)
Petros Bogiatzis
Petros Bogiatzis on 7 Feb 2023
Not sure if this is known,
modes
Michele
Michele on 29 Apr 2022
@Walter Roberson thank you :D !
Walter Roberson
Walter Roberson on 29 Apr 2022
toolbox/dsp/dspdemos/audio48.mat (exists at least to R2021b)
Image Analyst
Image Analyst on 29 Apr 2022
@David, audio48 doesn't seem to exist on my R2021b system with my installed toolboxes.
Walter Roberson
Walter Roberson on 28 Apr 2022
eml_asteroids exists in R2020b in
fullfile(matlabroot, 'toolbox', 'stateflow', 'sfdemos')
Also in R2016b. I do not seem to see it in my other installations, but I might not happened to have installed the right product for the other versions.
Michele
Michele on 28 Apr 2022
Hi, super nice idea! I am trying the eml_fire or eml_asteroids and I always get an error, also for the sf_tictacflow. I am using MATLAB2022a. Does anyone know why I keep getting this error? Thank you :)
Leo Borcherding
Leo Borcherding on 28 Aug 2019
life
Leo Borcherding
Leo Borcherding on 28 Aug 2019
This will pull up a Conways Game of Life Cellular simulation
Aneesh
Aneesh on 10 Jul 2014
@David That's absolutely mesmerizing. Thanks!