Daily Archive for January 27th, 2004

Matlab madness

Okay, time for some Matlab annoyances.

[] is the empty matrix.
| is logical or.

[] | 1 evaluates to []. In other words,

if ( [] | 1 )
  function();
end

will never call function.

End of the partay

The movin’ in-party was good stuff. Not too much drinking on me, but others had their full share and more. The pictures passed around were… amusing, though possibly not fit for online publication. Lots of singing, though. Nice teddybear, too. I wish I went more skiing. Perhaps I should get a pair of them highway-skis?