If you would also like to have this for your own programs just slip the following into the end.
%% To play a soundT=419*2; T2=419*4; st=[1:.3:T]; t2=[1:.3:T2];S=(sin(t*pi/T).^.2+sin(t*pi/T)
.^2).*sin((t+sin(t/2)*.2).^1. 0)/2;S2=(sin(t2*pi/T2).^.4+sin(t2* pi/T2).^4).*sin((t2+sin(t2/2)* .2)*1.5)/2;sound([S S],8192); sound(S2,8192);
Another great thing to do in Matlab: type "why" into the command line (without quotes) and see what it answers. Just the word 'why'. Now I would love to show you an example (they are quite funny) but the computer I'm using doesn't have Matalb. The person who posts a comment with the longest answer that matlab gives to that question wins.