MATLAB: What is your unusual use of MATLAB

beerdiscussionhumorMATLAB

I remember reading a blog (maybe by Doug Hull) that someone uses MATLAB to send emails and check local weather. I am just wondering what is your unusual use of MATLAB. Maybe there is something that might surprise every one.
In answering a question today, I found out that I can use MATLAB to listen to online music.
system('C:\WINDOWS\system32\dllcache\wmplayer http://www.satelitemusical.net/mj-akon-hold-my-hand.wma')
Of course not really have to use MATLAB, but, it's cool.
What is your usage?

Best Answer

My cat likes to chase the laser pointer. Once the battery has run out and I wrote a few lines of code to give him the entertainment :)
Something like that (Lissajous curve):
figure('menubar','none','color','k')
h = plot(sin(sqrt(2)*0+sqrt(3)),cos(sqrt(5)*0),'r.','MarkerSize',20);
xlim([-1 1])
ylim([-1 1])
axis off
for t=0.01:.01:100
set(h,'xdata',sin(sqrt(2)*t+sqrt(3)),...
'ydata',cos(sqrt(5)*t))
drawnow
end
Related Question