Code covered by the BSD License  

Highlights from
meow.m

4.5

4.5 | 2 ratings Rate this file 2 Downloads (last 30 days) File Size: 25.64 KB File ID: #24473

meow.m

by Phillip M. Feldman

 

18 Jun 2009

For cat lovers everywhere.

| Watch this File

File Information
Description

This Matlab function plays n successive cat meows, where each of the n meows is randomly chosen from one of two available sounds. The function pauses for paws seconds after each meow. The default values of n and paws are 5 and 3, respectively.

MATLAB release MATLAB 7.8 (R2009a)
Other requirements a sense of humor
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
07 Jul 2009 Doug Hull

LOL Does indeed meow as documented.

10 Jul 2009 Manu Raghavan

Meows quite adequately.

10 Jul 2009 Oleg Komarov

I hid my lap behind a wall and put on at max volume this code:
a = 1; b = 11;
while i=1
    paws = floor(a + (b-a).*(rand(1)));
    meow(2,paws)
end

after a while some people started to gather, guessing what was going on...somebody almost called firemen!
I'm sure if i think a little more i'll find a way to become billionare with meow.m!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
meow Phillip M. Feldman 19 Jun 2009 10:52:03
cat Phillip M. Feldman 19 Jun 2009 10:52:03
paws Phillip M. Feldman 19 Jun 2009 10:52:03

Contact us at files@mathworks.com