4.5

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

meow.m

by Phillip M. Feldman

 

18 Jun 2009

Code covered by BSD License  

For cat lovers everywhere.

Download Now | 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
Zip File Content  
Other Files license.txt,
meow.m,
meow1.wav,
meow2.wav
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
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com