Friday, November 30, 2007

very simple sound (signal) generation in matlab and vba

hi people.

for my scripts, i sometimes put a sound-generating function at the end, that lets me know the script is finished.

to do this in matlab, use this command

sound(ones(1,10))


in vba, use

beep()

No comments: