Observations about the universe, life, Lausanne and me
Tuesday, May 18, 2010
Public Service Announcement
Om nom nom, the subfunction eats your counter.
MATLAB does not protect the namespace in subfunctions. If you have a loop with a counter called i in the main function and you call a subfunction that has also a loop that uses i, hilarity will ensue.
Also, hours of debugging.
That is all.
I am currently at graduate school at the Ecole Polytechnique in Lausanne. Originally I hail from Vienna, Austria.
If you really, really have to contact me, you may do so under